SP.List.enableModeration Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that specifies whether content approval is enabled for the list.
var value = SP.List.get_enableModeration();
SP.List.set_enableModeration(value);
Property Value
Type: Boolean
Applies To
Exceptions
- [System.NotSupportedException]
Value is set to true and the list is an external list. Error code: -1.