Setting pagination properties
If the results of a search returns a large number of records, you can view the results in pages instead of single large list. You can set the pagination properties in Developer Studio and in the Mid Tier application to ensure that the results are displayed in pages.
Setting pagination properties to view search results
To ensure that a pagination is available for the result lists, you can set the following properties in order of their precedence:
- Max Entries Returned—If you set this value, the results list display the number of records equal to this value on one page. The remaining records are displayed in subsequent pages having number of records equal to this property value. If you have set this value, the Max Entries Returned By GetList property is not considered for pagination. Set using Definitions > Basic properties on any form in Developer Studio. For details about how to set form properties, see Setting-form-properties.
- Max Entries Returned By GetList—This property enables you to configure the maximum number of records returned in a page and distributes the search results into subsequent pages. The same number of records are displayed on every page. This property value is ignored if you have set the Max Entries Returned property by using the General > Server Information > Configuration tab. For more information, see Setting-administrative-options.
- View Level Size of Chunk for Result List—This property limits records in results list on form views. For details about this property, see Setting-form-view-properties.
- Limit Number of Items returned—Set using User Preferences > My User Preferences. For details about this property, see Search-and-other-general-preferences.
The minimum value of either the View Level Size of Chunk for Result List property or the Limit Number of Items returned property is provided to the server and this minimum value is compared with the Max Entries Returned form property. The smaller value is then used to display the form results list. If you do not provide a value for the Max Entries Returned form property, the Max Entries Returned By GetList server property is used for comparison.
User Scenarios
Y = Lesser value between "Max Entries Returned" and X
If "Max Entries Returned" is not provided:
Y = Lesser value between "Max Entries Returned By GetList" and X
Y is the value used for displaying records in the results list.
The following table displays the list of values set for each property and the number of records displayed in the results list:
If you have not provided value for any of the pagination properties, 1000 is the default value used for showing results in a results list.