This project is read-only.

Function
roboCAML.ViewFields();


Functionality

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

Parameters

roboCAML.ViewFields() accepts an array of StaticNames as a parameter.

Example

roboCAML.ViewFields(["Column1", "Cost", "SumOfCompoundInterest", "ProjectedGross"]);

The example above will generate the CAML fragment below:

<ViewFields>
	<FieldRef Name='ProjectedGross' />
	<FieldRef Name='SumOfCompoundInterest' />
	<FieldRef Name='Cost' />
	<FieldRef Name='Column1' />
</ViewFields>

Last edited Feb 12, 2012 at 3:51 PM by iOnline247, version 5

Comments

No comments yet.