SP.CamlQuery.viewXml Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets or sets value that specifies the XML schema that defines the list view.
var value = SP.CamlQuery.get_viewXml();
SP.CamlQuery.set_viewXml(value);
Property Value
Type: String
Applies To
Remarks
It must be null, empty, or an XML fragment that conforms to the ViewDefinition type.
The FieldDefinitions type contains a collection of zero or more fields.