9 Replies Latest reply on Oct 28, 2016 5:37 AM by Mykola Steshenko

    After the first load of embeded dashboard tabs and toolbar are not hidden

    Mykola Steshenko

      Hello everyone,


      I have an issue with an embedded dashboard. When I come to the page the first time, tabs and toolbar are visible, even though I have specified options &:tabs=no&:toolbar=no&:embed=y in the resulted link. This issue is only for the first page load (or when the page is open in an incognito new window). After refresh everything works correctly as well as all next consecutive page loads. Can it be fixed somehow?



      Tableau Server version 9.2.8

      The dashboard is embedded with JavaScript API:


      new tableau.Viz($element.find('div')[0], ctrl.vizUrl, {  
              hideTabs: true,  
              hideToolbar: true,  
              width: '1020px',  
              height: '625px',  
              onFirstInteractive: function () {  


      Resulted iframe looks like this:


      <iframe frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" src="https://tableau.server.address/t/dash/views/workbook.name/Dashboard?:embed=y&:showVizHome=n&:jsdebug=y&:tabs=n&:toolbar=n&:apiID=handler0" style="display: block; width: 1020px; height: 625px; visibility: visible;"></iframe>


      Thank you for your help!