How to automatically refresh a dashboard #unsupported – XrmMtl Skip to content

How to automatically refresh a dashboard #unsupported

Hi folks,

To refresh a dashboard, you can click on the button refresh. But, there is no supported way to refresh a dashboard automatically without refreshing the whole page.  Here, I’m offering you a simple solution to that problem.

First, create an html web resource. I named mine xrm_dashboard_autorefresh.html. It’s generic so I can use it in multiple places. In the content, copy and paste the following.  Then save and publish.

<script type=’text/javascript>
setInterval(function() {
},60 * 1000);

Second, open your dashboard. In the last row, add the web resource. Also, uncheck “Visible by default” to keep it hidden.

The script will use the same command as the Refresh button.

Save, Publish, go take a coffee.

Published inDashboard