2 Replies Latest reply on Jun 18, 2018 1:42 AM by Hossein Markid

    How Tableau JavaScript API bypass Cross-Domains restriction (CORS)

    Hossein Markid

      Recently, I loaded a Tableau report in a web page with JavaScript API and when I take a look at the page source noticed that JavaScript API uses Iframe to load the report. As I am not good at JavaScript could not get the idea from the code. My question is this how main page and Iframe interact with each other in Tableau. The concrete example for me is EventListner where an action inside the report Iframe triggers a JavaScript function in the main page, while they come from different domains.

      Thanks in advance