Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SP.CamlQuery.viewXml Property

SharePoint 2010

Last modified: February 08, 2010

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);

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.

Show:
© 2015 Microsoft