AnsweredAssumed Answered

Overcoming QueryTask limit (get next 1000)

Question asked by kdoman on Feb 15, 2013
Latest reply on Feb 15, 2013 by dcastano
Since there is a limit on the maximum number of records returned from a query, if there's more records that match the query than are returned, is there a way to query out the next batch of records?

For instance, ArcGIS Server is set to return a maximum of 1000 records, but there's 8000 records that match a particular query.

1. Is there a way I can send a query to get me records 1001-2000?
2. Can I cut it down to a much smaller selection? Say I only want the top 20, and later I want the next 20, and then the next 20? Is that possible?

I know how to do it server side through SQL, but I didn't know if it's available through ArcGIS Rest services, or will be in the near future.

Thanks

Outcomes