Configuring number of displayed results in directory styles

Build 1501 on 14/Nov/2017  This topic last edited on: 6/Sep/2016, at 13:33

Defining default number or items in a listing

Since the version 1.5, the default number of items per page in client applications (100 elements by default) can be changed in the GlobalConfig using the attribute "ClientItemsPerPage":

<GlobalConfig 

 xmlns="http://www.teradp.com/schemas/GN4/1/LoginContext.xsd" 

 ClientItemsPerPage="100">

All searches will be affected, unless the overridden ones.

If not specified, the default of 100 is used.

All changes in the GlobalConfig require reset of the IIS to become visible to clients.

Overriding default number of items per page

The value specified in the GlobalConfig can be overridden for each SearchObjectUI in the configuration using the attribute itemsPerPage:

<searchObjectUI name="Basic" ...... itemsPerPage="200">

It can also be overriden for each base query in the configuration, using the attribute itemsPerPage in SearchCriteria.

IMPORTANT: To make these changes available to the GN4 users, after you saved the GLOBALCONFIG.XML file and imported it into the database, or after you modified it in EdAdmin4 and saved, recycle the GN4 application pools on all IIS servers and then make all users log out and log back in.