1 Reply Latest reply on Aug 26, 2015 4:40 PM by Russell Christopher

    How to embed login into Tableau server sharing script?

    Preecha Sriserm

      Dear All

      I am newbie with Tableau. I try to embed Tableau chart into HTML page with below script but it still show login page before show viewing chart.

      How to embed login (user and password) into Tableau server sharing script? or other idea? Thank you very much in advance.

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

      <div class='tableauPlaceholder' style='width: 704px; height: 536px;'>

        <object class='tableauViz' width='704' height='536' style='display:yes;'>

          <param name='host_url'value='http%3A%2F%2F<My directory>%3A8020%2F' />

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

          <param name='name' value='Report&#47;CBEREPORT' />

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

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

        </object>

      </div>

        • 1. Re: How to embed login into Tableau server sharing script?
          Russell Christopher

          That means you're doing things right so far. The script above simply embeds a viz into a web page It doesn't attempt to do "Single Sign On".

           

          If you don't want the user to need to login separately, and for Tableau to "respect" the login of the portal into which the user has already logged in, you should google "Tableau Trusted Authentication". I'll warn you that Trusted Tickets is a bit more advanced, however -- it'll take coding on your part for which there is no easy "copy and paste" solution likely you did above

           

          Small steps! You're doing great!