SP.Web.fields Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets the collection of field objects that represents all the fields in the Web site.
var value = SP.Web.get_fields();
Property Value
Type: SP.FieldCollection
Applies To
Remarks
It must not be null.