This project is read-only.

Function
roboCAML.QueryOptions();


Functionality

This method will generate CAML strings for use in retrieving data from SharePoint.

Parameters (Properties)

Parameter Name Required
DateInUtc No
Folder No
IncludeMandatoryColumns No
MeetingInstanceID No
Paging No ~ ***See notes below***
RowLimit No
ViewAttributes No
 

Examples

roboCAML.QueryOptions({
	MeetingID: 5,
	Paging: {
		ListItemCollectionPositionNext: "something"
	},
	ViewAttributes: true,
	RowLimit: 5,
	folder: "/SomethingURL/Like",
	DateInUtc: true,
	IncludeMandatoryColumns: true
});

The method call above will generate this string:

<QueryOptions>
	<MeetingInstanceID>5</MeetingInstanceID>
	<Paging ListItemCollectionPositionNext='something' />
	<ViewAttributes Scope='Recursive' />
	<Folder>/SomethingURL/Like</Folder>
	<DateInUtc>True</DateInUtc>
	<IncludeMandatoryColumns>True</IncludeMandatoryColumns>
</QueryOptions> 

***QueryOption Notes***

This method assumes SPServices usage by default. If QueryOptions are needed for a Client OM query, use roboCAML.Query() and pass in the QueryOptions.

Last edited Aug 27, 2012 at 2:01 PM by iOnline247, version 13

Comments

No comments yet.