In order to make query result properties accessible, set the enableCountQuery property to true. The SearchFormHandler defines the following search results properties:

Properties

Description

currentResultPageNum

1-based page number of active page. Set this property in order to display a given page.

The default setting is 1.

enableCountQuery 

Enables access to other query result properties.

endCount

1-based number of the last item on the current page.

endIndex

0-based index number of the last item on the current page. The form handler uses this property to calculate the endCount property.

maxResultsPerPage 

Maximum number of items that display on a page.

maxRowCount

Maximum number of items returned from a search. A value of –1 (the default) returns all items that satisfy the search criteria.

resultPageCount

Number of pages that hold search results.

resultSetSize

Number of items returned from the search.

startCount

1-based number of the first item on the current page.

startIndex

0-based index number of the first item on the current page. The form handler uses this property to calculate the startCount property.

Note: These properties apply to a search that involves one item type. If your search form handler allows for multiple item types, these properties might not behave as expected.

 
loading table of contents...