4 Replies Latest reply on Jan 6, 2015 9:55 PM by Vien Hua

    Embedding Viz Shows File not found, works only in iFrame.

    David Maron

      Hello all,

       

      embedding my viz with the following code into a local html file shows "File not Found" in Chrome.

       

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

          <div class='tableauPlaceholder' style='width: 804px; height: 669px;'>

            <object class='tableauViz' width='804' height='669'>

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

              <param name='path' value='shared/GQBGKP2CS' />

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

            </object>

          </div>

       

      embedding the same viz using iFrame works.

       

          <iframe frameborder="0" height="770" scrolling="no" src="http://public.tableausoftware.com/shared/GQBGKP2CS?:embed=y;:display_count=no&amp;:showVizHome=no&:toolbar=no" width="980"></iframe>

       

      1. What am i doing wrong?

      2. How can i suppress the download button and the Tableau logo from the viz?

       

      Thanks for your help!