2 Replies Latest reply on Jul 20, 2018 5:32 AM by Kamil Kobierski

    Tableau Public embed single dashboard from workbook

    Kamil Kobierski

      Hi Folks,

      I have a workbook that contains multiple dashboards. What I would like to do is to embed each dashboard on different webpage (but just this selected dashboard), without displaying other ones.

      Do you know if this is possible?




      PS. I know I can create multiple workbooks, each with a single dashboard, but I try to avoid it so, I don't have to update data in many places.

        • 1. Re: Tableau Public embed single dashboard from workbook
          Ken Flerlage

          You can do this. When you publish your viz to Tableau Public, click the Edit Details button on the top right. Then scroll down to the bottom and select the "Show workbook sheets as tabs" box. After doing this, everything will show as tabs. Obviously, this is not what you want when you embed, so you can use an embed parameter to hide the sheets. First go to the right tab on the viz and get the embed code. It will be something like this:


          <div class='tableauPlaceholder' id='viz1532046334804' style='position: relative'><noscript><a href='http:&#47;&#47;www.kenflerlage.com&#47;2017&#47;01&#47;the-most-powerful-superheroes-and.html'><img alt=' ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SuperheroesSupervillains&#47;Top25&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='embed_code_version' value='3' /> <param name='site_root' value='' /><param name='name' value='SuperheroesSupervillains&#47;Top25' /><param name='tabs' value='yes' /><param name='toolbar' value='yes' /><param name='static_image' value='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SuperheroesSupervillains&#47;Top25&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /></object></div>                <script type='text/javascript'>                    var divElement = document.getElementById('viz1532046334804');                    var vizElement = divElement.getElementsByTagName('object')[0];                    vizElement.style.width='1366px';vizElement.style.height='860px';                    var scriptElement = document.createElement('script');                    scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';                    vizElement.parentNode.insertBefore(scriptElement, vizElement);                </script>


          Note the parameter highlighted in red above. If you change this to "param name='tabs' value='no'" then it will embed that tab of the dashboard, but will not show the tabs.

          2 of 2 people found this helpful
          • 2. Re: Tableau Public embed single dashboard from workbook
            Kamil Kobierski

            Many thanks Ken! This fixes my problem