Working with Lazy Loading in Analytics Designer (Beta)

You can use lazy loading to improve the performance of your analytic application at startup.

Context

Note

Lazy loading in analytics designer is currently only available for selected Beta customers. If you are interested in the Beta program, please contact your SAP account manager.

Please note that the following conditions apply during the Beta period:
  • Your company acknowledges that the software is a preliminary version and not subject to any productive use license agreement or any other agreement with SAP.

  • SAP has no obligation to include or remove any functionality from the software in any future version or in any SAP standard product.

To run lazy loading for your application, you can do the following:

Procedure

  1. For data-bound widgets in your application (tables or charts), check the widget property Disable Initial Load in the Builder panel.
  2. Call the script function getDataSource().load() of data-bound widgets at the point in time when the widgets should be loaded. Usually this script is part of an event handler script triggered by a user interaction; for example, the onClick handler of a button widget.
    Example
    Chart_1.getDataSource().load();