cancel
Showing results for 
Search instead for 
Did you mean: 

Pop up on Dashboard Load

jmn3
9 - Travel Pro
9 - Travel Pro

Does anyone have a script or a way that I can add a pop-up to a dashboard?

Basically, I want a pop-up on dashboard load that says something like : "Updates in progress". This is to alert viewers that there are changes being made.

1 ACCEPTED SOLUTION

harikm007
13 - Data Warehouse
13 - Data Warehouse

Hi @jmn3 ,

Here is another way to add modal popup to a dashboard:

https://www.binextlevel.com/post/modal-popup-in-dashboard

 

harikm007_0-1661351386819.png

-Hari

 

View solution in original post

4 REPLIES 4

lharrison
8 - Cloud Apps
8 - Cloud Apps

You can add something like this to the dashboard script. That's probably the easiest way.

dashboard.on('initialized',function(d) {
	alert('alert goes here');
});

 

harikm007
13 - Data Warehouse
13 - Data Warehouse

Hi @jmn3 ,

Here is another way to add modal popup to a dashboard:

https://www.binextlevel.com/post/modal-popup-in-dashboard

 

harikm007_0-1661351386819.png

-Hari

 

sneak
9 - Travel Pro
9 - Travel Pro

Try adding a simple JavaScript snippet in the dashboard initialization event:

dashboard.on('initialized', function () {
    alert('Updates in Progress');
});

But keep in mind, while the alert is popped up, the actual loading may take a backseat. I haven’t tested this particular use case, but this should give you a starting point. Let me know how it goes! 

sneak
9 - Travel Pro
9 - Travel Pro

Oops, didn’t see others had posted since I started a draft 😜