SP.List.enableFolderCreation Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that specifies whether new list folders can be added to the list.
var value = SP.List.get_enableFolderCreation();
SP.List.set_enableFolderCreation(value);
Property Value
Type: Boolean
Applies To
Exceptions
- [Microsoft.SharePoint.SPException]
Value is set to true and the list does not support list folders. Error code: -2146232832.