Skip to content

State

Gets the state of a document.

1
readonly ( `"Draft"` | `"Published"` | `"Archived"` | `"Deleted"` ) myDocument.State

Remarks

This property returns one of following values:

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

1
var state_of_a_document = mydocument.State;