1 Reply Latest reply on Jul 18, 2015 1:26 PM by Tamas Foldi

    login window when using API

    Michal Wrobel



      I need to publish analysis on the intranet.


      I create a cutom website with tableau embad analysys :


      <html xmlns="http://www.w3.org/1999/xhtml">


      <script type="text/javascript" src="http://localhost:8000/javascripts/api//tableau_v8.js"> </script>

      <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

      <script type="text/javascript">



          $(document).ready(function ()





        function initializeViz()


         var placeholderDiv = document.getElementById("tableauViz");

         var url = "http://localhost:8000/views/Podstawowefunkcjonalnocitableau/Grupowanie?:embed=y&:display_count=no";

        var options = {

        hideTabs: true,

           hideToolbar: true,

        width: "800px",

        height: "700px",   

        onFirstInteractive: function ()


        workbook = viz.getWorkbook();

        activeSheet = workbook.getActiveSheet();



        viz = new tableau.Viz(placeholderDiv, url, options);






          <div id="tableauViz" style="width:800px; height:700px"> </div>




      When i open html file i need to insert login and password.


      How put login and password inside javascrip API to html file ?


      Regards MichaƂ