ListManagerAssociatedListAddOrUpdate Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Associates a document with a list.

Namespace: ContentStudio.Document.Listing
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public void AssociatedListAddOrUpdate(
	ConnectionId connectionId,
	SessionId sessionId,
	DocumentId documentId,
	Guid listId,
	CreateLevelValue createLevel
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site
sessionId
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
documentId
Type: ContentStudio.DocumentDocumentId
The document identifier.
listId
Type: SystemGuid
The list identifier.
createLevel
Type: ContentStudio.Document.ListingCreateLevelValue
The create level.
Exceptions

ExceptionCondition
CSInvalidSessionException
CSPermissionDeniedException
CSDocumentNotFoundException
CSInvalidParameterException
CSException Number 1022: "Invalid action" - The list is one of the special lists such as "My latest changes" - or - the list represents a document type that cannot be create in the modern editor user interface
CSExceptionNumber 1004:"Container not found" - The list does not exist.
SqlException
Content Studio permissions

Either WRITE permission on the document - or - the GlobalGroupAdmin - or - WriteActiveContent global right is required.
Remarks

This metod was added in Content Studio 5.6 Update 1
See Also

Reference