CSSyncronizedDocumentApprove 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, and reloads it with new properties.

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

public void Approve()
Exceptions

ExceptionCondition
InvalidOperationException
  • The document has unsaved changes, save before the approval operation
  • The document is read-only
SqlExceptionAn error occurred when executing the command against the Content Studio database
Remarks

The Approve method automatically checks in the document and no changes can not be made after that.
See Also

Reference