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

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

Gets or sets a value that indicate whether Content Studio automatically should ensure that the effected document will be set to published after a successful approval operation.

Namespace: ContentStudio.EventActions.SynchronousEventHandlers
Assembly: SyncEvtHand (in SyncEvtHand.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

protected bool AutoEnablePublishedStatus { get; set; }

Property Value

Type: Boolean
true if Content Studio should ensure that the document is Published after the restore operation; otherwise, false. Default value is false.
Remarks

Note Note

Important

Settings this property overrides the normal in behaviour in Content Studio that requires the approver to explicitly set the Published flag to true when the document is restored from the recycling bin on order to make this document beeing published after the approve operation.

This property was introduced in Content Studio 5.6 Update 1.

When this property is true the flag value 0x10000000 is set in the Status property informing Content Studio to turn on the Published flag on the restored document automatically when turned off.

See Also

Reference