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

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

Approves a saved document.

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

public virtual void Approve()
Exceptions

ExceptionCondition
CSExceptionA business rule was violated in the underlying Content Studio database
InvalidOperationExceptionCannot approve the document. The document has unsaved changes
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

APPROVE permission on the document is required.
Remarks

A newly created document must be saved before an approve can be made. After the call the document is checked in and cannot be saved or approved again.
See Also

Reference