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

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

Enables a document to be sent the next time it is published or approved.

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

public void EnableSend()

CSExceptionA business rule was violated in the underlying Content Studio database
CSPermissionDeniedExceptionThe caller has no permission to perform the requested action
CSInvalidSessionExceptionThe session is invalid
CSInvalidParameterExceptionA parameter has an invalid value
CSDocumentNotFoundExceptionThe document could not be found
InvalidOperationException The status change operation failed because the current status cannot be set to %newValue%. - or - The document is not enabled for subscription.
SqlException An error occurred when executing the command against the Content Studio database
Content Studio permissions

WriteContainer permission on the document's category is needed to enable a document to be sent.

This command sets the status of the document to CanBeSent which tells Content Studio Service Manager that this document should be sent as soon as possible when it has been approved or published. This makes it possible to send out a new version of the same document.

This method can only be called successfully on documents that has one of the resting statuses below and is enabled for subscription.

See Also