Step 1: Create New Web Resource (HTML) and below code:
<html><head>
<title></title>
<script type="text/javascript">
// add visual timer just because we can
var d = new Date();
document.write(d.toLocaleTimeString());
// refresh parent (dashboard) every 30 seconds
// (timeout is in milliseconds)
setTimeout("window.parent.document.getElementById('RefreshDashboard-button').click();", 30 * 1000);
</script></head>
<body></body>
</html>
Note: #RefreshDashboard-button is the id of the "Refresh All" button present in the dashboard which will automatically click after 30 seconds.
Step 2: Add this Web Resource to the particular Dashboard by clicking on "Web Resource".
Step 3: Make sure to disable the "Visible by default" checkbox. Please check the below Screenshot:
Step 4: Publish this Dashboard.
No comments:
Post a Comment