1 Reply Latest reply on Mar 22, 2016 5:56 PM by patrick.byrne.0

    Embed Tableau 9.2 View into PCXML

    saravanan p

      Hi

      I am trying to embed the tableau Dashboard in PCXML using Alteryx

      it was working fine until we upgraded to tableau 9.2 version

      not sure its because of the new version

       

      below is the code snippet i have

      <!DOCTYPE html>

      <meta charset="utf-8">

      <body style="background-color: white;">

         <script type='text/javascript' src='https://tableauserver.com/javascripts/api/viz_v1.js'></script>

         <div class='tableauPlaceholder' style='width: 702px; height: 552px;'>

            <object class='tableauViz' width='702' height='552' style='display:none;'>

               <param name='host_url' value='https%3A%2F%2Ftableauserver.com%2F' />

               <param name='site_root' value='&#47;t&#47;POC' />

               <param name='name' value='view&#47&#47;View' />

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

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

            </object>

         </div>

      </body>

       

       

      <!DOCTYPE html>

      <html>

       

      can someone help me to fix this?

        • 1. Re: Embed Tableau 9.2 View into PCXML
          patrick.byrne.0

          Saravanan,

           

          I will not claim to be an expert by any means in embedding, but the one this that did catch my eye was the JS file listed in the post. Between the two versions of Tableau Server slight changes to JS API file were made. Below is a link to the Accessing API page from our Knowledge Base. Note the differences between version 9.1 and 9.2. No guarantee this is the issue but it definitely worth taking a look into. Additionally I am attaching article about what is new the JS API that might be beneficial for investigating the issue as well.

           

          JS API | Knowledge Base

          Tableau JavaScript API Concepts--Accessing the API

          JS What's New? | Knowledge Base

          Tableau JavaScript API Concepts--What's New

           

          I believe the above information will at least get the wheels turning towards a resolution.

           

          Cheers,

          Patrick