Sharepoint Web Service GetListItems not returning all rows

Will picture Will · Aug 22, 2009 · Viewed 15.7k times · Source

I am using the GetListItems web service and it is only returning about 50% of the results stored. Is there a limit to how much data can be returned? Is there anyway round this?

Answer

ashwnacharya picture ashwnacharya · Aug 22, 2009

The method retrieves only the number of rows in the default view of the list. To solve this problem, you can simply increase the row count in your default view, or better yet, use CAML queries. Here's an article on how to use CAML with web services: http://dotnet.org.za/zlatan/archive/2007/08/01/collaborative-application-markup-language-caml-and-webservices-in-sharepoint-2007.aspx