Export (0) Print
Expand All

SP.List.defaultContentApprovalWorkflowId Property

SharePoint 2010

Last modified: February 09, 2010

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets or sets a value that specifies the default workflow identifier for content approval on the list.

var value = SP.List.get_defaultContentApprovalWorkflowId();

SP.List.set_defaultContentApprovalWorkflowId(value);

[Microsoft.SharePoint.SPException]

Value is changed, and EnableMinorVersions is set to false, EnableModeration is set to false, or the specified value is not a workflow identifier that is associated with the list. Error code: -2146232832.

It must be an empty GUID if there is no default content approval workflow.

Show:
© 2014 Microsoft