SP.ViewFieldCollection.schemaXml property (sp.js)
Gets a value that specifies the XML schema that represents the collection.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.ViewFieldCollection.get_schemaXml ()
Return value
Type: String
A Collaborative Application Markup Language (CAML) string that contains the schema.
Remarks
It must not be null.
REST resource endpoint
See ViewFieldCollection resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/lists(listid)/Views(viewid)/ViewFields/schemaXml
HTTP requests
This resource supports the following HTTP commands:
- GET
GET syntax
GET http://<sitecollection>/<site>/_api/web/lists(listid)/Views(viewid)/ViewFields/schemaXml