cancel
Showing results for 
Search instead for 
Did you mean: 

Parameterizing Plugins for Widget Refresh and Filter Updates in Dashboards

paulDiag
7 - Data Storage
7 - Data Storage

Hello,

I would like to parameterize a plugin so that it runs every time a widget is refreshed or when a filter value is updated.
I know how to achieve this using a widget script and the 'refreshed' event, like this:

widget.on('refreshed', (args, el) => {
  // Code to execute when the widget is refreshed
});

However, I want to apply this behavior directly in a plugin, so it affects all the active dashboards. I believe I might need to use a 'prism on' event, but I haven't found a similar event yet.

I appreciate your help in finding a solution to this.

Thank you!

0 REPLIES 0