We have developed an application that receives measurements from meters and displays them with the help of different Dashboards. We have defined two kinds of Dashboards.
The Group Dashboard displays graphs and diagrams about measurements of the devices combined in that group. Every group has its own Group Dashboard, but every Group Dashboard has exactly the same elements (same widgets and same data points, but from the devices in that group).
The Device Dashboard contains all the graphs and diagrams that hold the measurements specific to the device. But here again, all Device Dashboards have exactly the same elements.
In our application, users have the possibility to create new groups on their own and add devices to these groups according to their needs.
Once a user created a new group, this group also needs its own Group Dashboard. We developed a mechanism, that allows us to automatically generate a new Group Dashboard, after the user created his new group.
However, some of the widgets in this new Group Dashboard are not being updated with the correct datapoints of the devices in that group. They still try to link to the devices of the Dashboard template. This happens with standard Cumulocity widgets that are deployed to this dashboard. But it works with our customer widgets.
Is there a way that allows us also to update the linked data points also within the Cumulocity standard widgets automatically? This update should also be done if a user adds or removes devices from that group. Meaning, the respective widget (line graph) needs to add or remove that specific data point of that device.
Idea is, that uses never need to adjust settings of the widgets. All this should happen in the background.