Function
roboCAML.OrderBy();


Functionality

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

Parameters (Properties)

Parameter Name Required
***staticName(s)*** *Yes*


Example

 

roboCAML.OrderBy({
	MyColumn: false,
	ID: true
});

This method call will generate the CAML fragment below:

<OrderBy>
	<FieldRef Name='MyColumn' Ascending='False' />
	<FieldRef Name='ID' Ascending='True' />
</OrderBy>

 

roboCAML.OrderBy Notes***

The parameter name you'll use for this method is completely up to the list schema that is used.  The value can also be passed in as a string as well: "True" or "False".  

Last edited Feb 13, 2012 at 7:41 PM by iOnline247, version 8

Comments

No comments yet.