cancel
Showing results for 
Search instead for 
Did you mean: 
Community_Admin
Community Team Member
Community Team Member

Question

How can I trigger a popup every time I open a dashboard using BloX or JS, as shown in the picture?

 

Community_Admin_0-1634634622296.png
 

Answer

You already have the code for the popup itself then you can easily wrap it as a plugin and use the "dashboardLoaded" event to trigger that functionality on all dashboards. 
 
If you need it to happen only on specific dashboards that you can add another configuration file on the server and then write your logic around it so it will be something like: 
var PopupEnabledDashboard = [DASH_ID1, DASH_ID2]; 
Rate this article:
Version history
Last update:
‎11-10-2023 12:42 PM
Updated by: