on ‎2021 Jun 18 8:08 AM
Dear Team,
While using tabstrip component in Analytics Designer , is it possible to not load the data sources of other tabs through scripting while the 1st tab is getting loaded .
This is in regards to the performance of the dashboard . At the moment when I check the performance of the dashboard , all the tabs and the corresponding data sources are getting loaded simultaneously.
BR,
A Singh
Request clarification before answering.
Load invisible widgets in background (background loading) and pause-refresh are two different features which can be used to tweak the performance of your app.
Background loading delays the initialization of the complete widget. However if you access the widget from the onInitialization script, the script will wait for each widget to be loaded. So you better not touch them there.
Pause-refresh disables server roundtrips for those widgets. You should enable this from the builder panel of the widget which you do not need to display on startup. Setting it in onInititalization is too late as they are already loaded the data.
Please read the performance recommendations in the developer handbook for more details.
Hopefully we can automate some of these common use cases in future.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
saurabh.sonawane will this work with BW Live?
My example: I have 5 Bex queries. The dashboard opens with the transfer of parameters through the link from another dashboard.
with Application.setRefreshPaused([ds1,ds2,ds3],true) the dashboard is initialized around 20-25 sec
but, when i physically delete 3 Bex then immediately - 10 sec.
Is it possible do not load data sources on initialization?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
please try the below code = onInitialization funcation
Application.setRefreshPaused([Chart_1.getDataSource()],true);
and write the below code onClick of tab trip 2
Application.setRefreshPaused([Chart_1.getDataSource()],false); Application.refreshData([Chart_1.getDataSource()]);
Thanks,
Saurabh S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.