Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
WriteContainer permission on the document's category is needed to enable a document to be sent.
[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)
Syntax
Exceptions
Exception | Condition |
---|---|
CSException | A business rule was violated in the underlying Content Studio database |
CSPermissionDeniedException | The caller has no permission to perform the requested action |
CSInvalidSessionException | The session is invalid |
CSInvalidParameterException | A parameter has an invalid value |
CSDocumentNotFoundException | The 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
Remarks
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