How to specify the number of CAML queries you would like returned
Another thing you should keep in mind when you use CAML QUERING is the fact that by default the query is going to return just the first 10 result so you should specify the maximum number of row that you want the query return to you, you achieve this with the tag : <Range><StartAt>1</StartAt><Count>10000</Count></Range> Using the example above to get 10,000 results your query could look like this: <Query> <Where> [.....] </Where> <Range> <StartAt>1</StartAt> <Count>10000</Count> </Range> </Query>   Useful to use this parameters to page results.

Author bio

Gabriel Karawani
Gabriel Karawani
Co-Founder and Director
My role is a wonderful mix of technology and business, and as one of our co-founders, I have had the privilege of working with all our awesome colleagues, clients and partners from day one. I get excited about new technology and helping our clients find ways of doing what they do even better.


comments powered by Disqus

Related Articles

Sign up to our ClearThought newsletter

Get inspired and learn something new by subscribing to our FREE newsletter. It’s full of ClearPeople's thought-leadership whitepapers, blogs, events, and much more. We promise to not use your email for spam.

Closing this message and/or accessing our website tells us you are happy to receive all cookies on the ClearPeople website.
However, if you would like to, you can change your cookies settings at any time.