/ Published in: JavaScript
First option uses a parameter in <a href="http://snipplr.com/view/46534/reading-and-writing-list-data-in-sharepoint-2010-using-spservices/">spservices method</a> to limit the results to four. Second option limits the results returned to six in the caml query iteslf using the <RowLimit> property.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
CAMLRowLimit: 4, <Query><Where><Eq><FieldRef Name="Active" /><Value Type="Boolean">1</Value></Eq></Where><RowLimit>6</RowLimit></Query>