2 Replies Latest reply on Jan 29, 2018 11:44 AM by Sean Moran

    JS API with Tableau 10.4.1

    Sean  Moran

      Hi All,



      I am trying to embed a viz directly from my tableau server however the Div is blank no matter what I do. The tableau.Viz() constructor is not throwing any errors, which makes me think I am not including the JS API correctly.


      I have tried the following <script type="text/javascript" src= "tableau-2.min.js ">     or     src="tableau-2.0.0.min.js "


      In the JS API reference page it only references up to v10.3. I'm assuming it would be the same for 10.4.1?


      Note: I have the console logging the vizURL once it is built. I have tried pasting this in the browser out of curiosity and it sends me to the Login page despite the trusted ticket being in the URL...


      My URL is configured like such ----> Http://<my-server>/trusted/<trusted-ticket>/t/<site>/views/<workbook>/<view>/?:embed=y


      2 questions on this

      1) does <my-server> require the port number? I have tried 8080 as well as 8085.

      2) I have seen embed=y and embed=yes. Are they the same?





      Any tips are greatly appreciated!!