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)

public virtual void Approve()

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.

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