DocumentApproveSyncHandlerAutoEnablePublishedStatus 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 approval; 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.

Also if this flag is set in your event handler a document that is WithDrawn will be published automatically when approved.

This property was introduced in Content Studio 5.2 SP1.

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

See Also

Reference