cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a loader in SAP Lumira Designer 2.1?

0 Kudos

Hey There,

I have created a dashboard with Lumira Designer 2.1. When I run my filters, the KPIs take some time to execute the filters. I would like to include a "Please wait" or something similar. Any ideas?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member197738
Participant
0 Kudos

Hi Oliver,

When you execute Apply Filter code which i assume through a BUTTON component, add below code in the end.

Step-1

Chart_1.showLoadingState("Please Wait");

Crosstab_1.showLoadingState("Please Wait");

Step-2

On-Result Set Changed for Data-Source apply below code.

Chart_1.hideLoadingState("Please Wait");

Crosstab_1.hideLoadingState("Please Wait");


Regards,

Fahad

0 Kudos

Hi Fahad,

thanks for your reply. I added some dropdown filters, and set the data source and the target in the items bound.

Regards

Oliver

former_member197738
Participant
0 Kudos

Hi Oliver-

In that case please add STEP-1 code on APPLY of 'Dropdown Filters'.

OR you can add one Text component and Trigger its visibility {Text_1.hideLoadingState("Please Wait");} at the drop-down filter Apply, Instead of writing code for all visualization component separately.

After that add Step-2, On-Result Set Changed for Data-Source apply below code.


Regards,

Fahad

0 Kudos

Hi fahad,

thanks for your quick answers, I think I didn't give you enough information for the implementation. I haven't added any dimension filters, just dropdowns from the basic components selection. So I have no apply. Sorry for the confusion.

Thank you very much,

Oliver

former_member197738
Participant
0 Kudos

Oliver please checkout below, even if this is not exactly what you have on your end, hope this get you an idea, cheers.

Step-1 Pre-populate dropdown desired Dimension

Step-2 Script at Drop-down, no matter what you selection you make on Drop-down this script will get triggered.

Step-3 On result Set of DataSource

Step-4 Make selection under Drop-down

Step-5 Loading msg appears, due to Step2 script

Step-6 Loading msg disappear, due to Step3 script.

Regards,

Fahad

0 Kudos

Hi Fahad,

many thanks Fahad for your solution, it works now!! 🙂

Regards,

Oliver