cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Tabstrip performance Analytics Designer SAP Analytics Cloud

mario_11
Explorer
0 Likes
2,084

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Bob0001
Product and Topic Expert
Product and Topic Expert

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.

avsalynin
Active Contributor
0 Likes

bob.meincke is it possible do not load data sources on initialization?

Like it was in Lumira - "load ds in script"

Since now all bex are loaded in AD, when the application is initialized, even if the tables / charts for these bex are hidden, right?

Bob0001
Product and Topic Expert
Product and Topic Expert
0 Likes

It is possible (although it does not work 100% identical) using the checkbox "Pause Data Refresh" in the builder panel. At runtime call DataSource#setRefreshPaused(false)

avsalynin
Active Contributor
0 Likes

Unfortunately it is not so:(

The initialization time of the dashboard with DataSource#setRefreshPaused(false) does not change.

Improves only when bex with parameters are physically removed from the dashboard.

DS: BW (Live)

SAC: 2021.7.12 (Client), 2021.7.7 (Server)

Bob0001
Product and Topic Expert
Product and Topic Expert
0 Likes

avsalynin please create an incident for SAP then.

avsalynin
Active Contributor
0 Likes

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?

Alex_B
Participant
0 Likes

Hi avsalynin,

I have the same issue. Do you already have any solutions?

BR Alex

saurabh_sonawane
Active Contributor
0 Likes

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.

saurabh_sonawane
Active Contributor
0 Likes

Hi,

Click on file -> Analytics application settings,

Thanks,

Saurabh S.

mario_11
Explorer
0 Likes

Hi Saurabh,

I know this setting. But this is only for widgets . I am talk about data sources.

So until and unless I click on the other tabs , the data sources of those widgets should not be initialized .

Kind Regards,

A Singh