SyncronizedEPTDocumentIsDirty Property Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Gets a value that determines whether the document has unsaved changes.

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

public bool IsDirty { get; }

Property Value

Type: Boolean
Boolean, true if any changes have been made to a custom field, false otherwise.
Remarks

Initially this property is false for existing documents unless one or more invalid fields, that have no entries in the schema, where found in the document while opening an existing document. For new documents this property is true until saved.
You cannot call the Approve method a document that has unsaved changes. For this reason you can check this property before approving it.
See Also

Reference