on 2021 Apr 06 8:22 PM
Hello!
I have a dashboard in Lumira Designer with multiple KPI tiles. Each tile is an instance of the same composite and gets assigned a DataSource by the dashboard application using the following interface function setDs(I_ds):
compositeDS.assignDataSource(I_ds.getInfo().system, DataSourceType.QUERY, I_ds.getInfo().queryTechnicalName);
After this command, the composite can use the DS. However, I configured an initial view for the DS in the dashboard app, and this view is being ignored by the composite. I tried to change the second parameter to DataSourceType.VIEW, but this results in errors and the DS not being loaded at all. I was unable to find any example of assigning DataSourceType.VIEW online.
I'd kindly appreciate any suggestions on how to transfer the initial view to the component.
Request clarification before answering.
Hello Benjamin,
this is a valid question, but I'm afraid that there is no good answer. What you would need a is a kind of "copyState" API for data sources - which does not exist so far. The initial view contains many properties, for some we offer property getters and setters which would allow to copy (e.g. copyFilters), but unfortunately not for all.
Best regards,
Reiner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
12 | |
9 | |
8 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.