Page Size Considerations

You can use page size for data services and form services (application stack) to indicate the number of records that the AIS Server fetches at a time via the HTML Server. Using this functionality may help when the data or form request expects a large data set. Instead of requesting all of the records in a single operation, it can request a chunk at a time, collect (buffer) them on the AIS Server, and then return the complete set of records in the response to the caller.

For a form service, it is important to consider where to place the "Return Form Data" action when returning grid data. If your application stack contains multiple forms with grids, and you want to return all the data for a grid using paging, you must place the "Return Form Data" after the Find action.

Note: It is unnecessary to use the paging setting if you do not intend to get large numbers of records or haven't had any issues with getting large record sets. While this setting helps with the large data sets, it may slow down requests for smaller data sets. A request that works fine to get 1000 records in one request would run much slower if the page size is set to 100, because it would be doing ten times the number of AIS to HTML server communications.