When a Report user enters a StoryTeller report the loading time of the Optional filters is dependent on the number of filters and filters options to be loaded from the server, the more filter options the longer loading time. To shorten the loading time in reports with thousands of filter options on-demand loading logic has been implemented. This logic loads only the first 100 filter options on page load and the rest is loaded as soon as the user opens the filter lists. This on-demand logic results in a faster initial report load and a much better user experience. Filter search works as before, on the whole answer list. The on-demand loading option is applied by default. 


The on-demand loading can be turned on/off in the Project settings page as shown in the image below. If you have existing projects with large filter lists (over thousand filters) it is recommended to turn on the On-demand loading unless there is custom code referring to these big filter lists. If all your filters have less than 100 options turning the On-demand loading of filters on will not affect the system behavior at all. 


Here we see the controls in the Project settings page.



On-demand rendering of filters

In case of having filter lists with thousands of filter options and having custom code referring to those lists the on-demand loading cannot be applied as the content in the filter list will not be loaded until the user opens the filter boxes. In these cases you can use the new option “on-demand rendering” as that increases the performance and let you at the same time use the content in the filters with any existing custom code.


Here we see the controls in the Project settings page.