SP.List.enableAttachments Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that specifies whether list item attachments are enabled for the list.
var value = SP.List.get_enableAttachments();
SP.List.set_enableAttachments(value);
Property Value
Type: Boolean
Applies To
Exceptions
- [Microsoft.SharePoint.SPException]
Value is set to true and the list does not support list item attachments. Error code: -2146232832.