2 Replies Latest reply on May 17, 2018 12:48 PM by john.dan

    auto refresh tableau dashboard

    john.dan

      we have a requirement to display dashboard in a TV in the hallway. This is a very simple with light weight data, so, dashboard performance is not an issue at all.

      The dashboard has been deployed to our local tableau server( not tableau online).

       

      the requirement is to let the dashboard refresh every 2 mins and also, keep the dashboard in full screen mode; i.e - if a refresh happens, we do not want the dashboard to come out of the full screen mode.

       

      I researched a little bit and while there is default way to do this in tableau - it looks like we can do this using - embeded dashboard in web page and java script.  This where I need some help.

       

      I got the code from this discussion thread Auto Refreshing Live connected dashboard in Browser(through server)  and looking to use Hugh Nguyen solution

       

      I am on tableau 10.5 version and when I update the src and url path, and launch the web page; it get blank page.

       

      src="http://mytableau:9890/javascripts/api/viz_v1.js"

      var url = "http://mytableau:9890/#/views/Cities/Dashboard"

       

      Any idea on what I should use in the src and url as per my values??

       

      Below is my embedded code from tableau ( servername changed:

       

      <script type='text/javascript' src='http://mytableau:9890/javascripts/api/viz_v1.js'></script>

       

      <div class='tableauPlaceholder' style='width: 1366px; height: 768px;'>

      <object class='tableauViz' width='1366' height='768' style='display:none;'>

      <param name='host_url' value='http%3A%2F%2Fmytableau%3A9890%2F' />

      <param name='embed_code_version' value='3' />

      <param name='site_root' value='' />

      <param name='name' value='Cities&#47;Dashboard' />

      <param name='tabs' value='no' /><param name='toolbar' value='yes' />

      <param name='showAppBanner' value='false' />

      <param name='filter' value='iframeSizedToWindow=true' /></object></div>