View Pagination Enhancements

This article covers View Pagination Enhancements released in Aptify 7.2. The details of the enhancements are covered in below sub-topics:

View pagination performance improvements

In Aptify release 7.2, the performance of the view pagination functionality has been improved for Entity list view, Dashboard part views and Form template part views. The performance enhancement is achieved by making the large datasets of the views more manageable for efficient navigation.

To enable this feature, a new checkbox labelled "Is Load All Records" has been implemented on view properties popup.  The checkbox offers an option to the users to configure a specific view to load all the records in a single service request or to make a view service request with every paging event. 

Below is the detail description on how to configure each type of views: 

Configuring Entity List view and Card view

To enable the performance improvements for Entity List views and Card views, select the Is Load All Records checkbox located on view properties popup under configuration tab.  By doing so, all the view records are fetched in a single server request without any further service request for rest of the pages. Clear the checkbox to revert to the default view pagination functionality, that is, for each page, service request is raised to fetch records page by page. By default, Is Load All Records is not selected.



Configuring Dashboard Part view

The ELVs present on dashboards are configured from Dashboard parts. To fetch the dashboard  ELVs, records , dashboard part has two view types namely, "sql view" and "view id" as shown in the below screenshot.

Dashboard part with view type configured as sql view:

In the Input Map tab of dashboard parts, set Input Property "IsLoadAllRecords" to "Yes" to fetch all the view records in single service request. To fetch the view records page by page, set "IsLoadAllRecords" to "No".

Dashboard part with view type configured as view id:

For this configuration, the "Is Load All Records" option is available on view properties popup under the configuration tab. Select the "Is Load All Records" checkbox to fetch all the view records in single service request. Clear the checkbox to revert to the default view pagination functionality, that is, for each page, service request is raised to fetch records page by page.

Configuring Form Template part view

The List views displayed under any form template are configured from Form template parts.  The Form template has two view types similar to dashboard board part namely, "sql view" and "view id" as shown in the below screenshot .

Form Template part with view type configured as sql view:

In the Input Map tab of dashboard parts, set Input Property "IsLoadAllRecords" to "Yes" to fetch all the view records in single service request. To fetch the view records page by page, set "IsLoadAllRecords" to "No".

Form Template part with view type configured as view id:

For this configuration, the "Is Load All Records" option is available on view properties popup under the configuration tab. select the "Is Load All Records" checkbox to fetch all the view records in single service request. Clear the checkbox to revert to the default view pagination functionality, that is, for each page, service request is raised to fetch records page by page.

After updating the Form Template part, run process flow "Generate HTML5 Web Form Template UI Parts" using that form template ID. 

Enabling Disk cache option for better user experience

Along with the View Pagination performance improvements, the user experience has also been enhanced by making use of disk cache. The cache storage retains the page data with request URLs and serves the request from the cache by avoiding the service calls for already loaded pages. This enables fast data binding to grid as data is fetched from the disk cache at client side. 

This feature is configurable by setting the flag Aptify.framework.configuration.enableViewPaginationDiskCache to true or false in Aptify Web config file. 

Contact your infrastructure team to enable disk cache option on hosted environment.

 

 

 

 

 

 

 

 

 

 

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.