Condividi tramite


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

SP.List Class

Exceptions

  • [Microsoft.SharePoint.SPException]
    Value is set to true and the list does not support list item attachments. Error code: -2146232832.

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace