3 Replies Latest reply on Apr 27, 2015 10:25 PM by Balakumar Seethapathy

    Cannot call method 'get__workbook' of null

    Jason Hihn
        viz = new tableauSoftware.Viz(placeholderDiv, url, options);
        alert(viz.getUrl()); // This works fine
        var workbook= viz.getWorkbook(); // This doesn't


      1. Uncaught TypeError: Cannot call method 'get__workbook' of null

      2. Blocked a frame with origin "http://myhost.amazonaws.com/etc..." from accessing a frame with origin "". Protocols, domains, and ports must match.


      I'm trying to get started with the new 8.0 Javascript API. I am getting the above two errors.

      For error 1:

      The code above is the code that causes the error. The viz embeds in the age, I can see it. The getUrl() member works fine, but getWorkbook() does not.


      For error 2:

      I am following the video example, which doesn't show the console. I don't know if this is a problem. I do know why I am getting it - because the file I am developing is on my laptop and calling a viz on the amazon server. Can I ignore this or work around it?