0 Replies Latest reply on Aug 5, 2013 12:06 PM by Diana Bocskai

    Using the javascript API to create visualizations... is there a way to use a relative path for the viz url?

    Diana Bocskai

      Is there a way I can use "/trusted/<TABID>/views/Assets/Dashboard" instead of the the full url?  Thanks!



      var vizDiv = document.getElementById('a_viz');

      var vizURL = "http://<TABLEAU_SERVER>/trusted/<TABID>/views/Assets/Dashboard";

      var options = {};

      a_viz = new tableauSoftware.Viz(vizDiv, vizURL, options);