Posted By

rumremix on 11/20/10


Tagged

results query limit sharepoint spservices caml


Versions (?)

Sharepoint: limit the results in caml query


 / Published in: JavaScript
 

First option uses a parameter in spservices method to limit the results to four. Second option limits the results returned to six in the caml query iteslf using the <RowLimit> property.

  1. CAMLRowLimit: 4,
  2.  
  3. <Query><Where><Eq><FieldRef Name="Active" /><Value Type="Boolean">1</Value></Eq></Where><RowLimit>6</RowLimit></Query>

Report this snippet  

You need to login to post a comment.