Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

( "Draft" | "Published" | "Archived" | "Deleted" ) DocumentmyDocument.State { get; }

Remarks

This property returns one of following values:

Example

Code Block
languagejs
var state_of_a_document = mydocument.State;

...

Info

Readonly State Published, Deleted and Archive state makes documents read only. Except profile data all other properties including document content is read only, any change attempt is prohibited. When the information about the current state of a document is needed:

Example

Code Block
languagejs
var state_of_a_document = mydocument.State;