I am currently extending a Widget (Angular) for a customer. The widget is a basic diagram widget with a legend, and I want to store the state of the legend entry as soon as someone clicks on the desired entry. I’d like to store it in the “configuration Object” of the Widget
I have not been able to find any service or method that could update the config object from outside the configuration widget.
There is, of course, the possibility to implement a workaround by storing a “custom object” in the “Managed Object” of the dashboard and providing a custom-generated ID to the widget to identify the configuration afterward. However, before I try that, I would like to know if there is another way to solve this.
Another side effect of this workaround would be that I would have to somehow track if the user deletes a widget and clean up my “custom configuration” afterward.
Does anyone know if there are built-in solutions I could use for this?