4 Replies Latest reply on Jan 22, 2020 7:21 AM by Tamas Foldi

    Unable to access - parent.parent.tableau of Tableau JS API when accessing report having embed=y in URL

    Ravi Naidu

      All,

       

      Have implemented a custom solution to capture commentary points in Tableau dashboard by following the below approach

       

      https://databoss.starschema.net/tableau-javascript-api-without-embedding/

       

      Challenge is the API does not work, when the report has "embed=y" in URL

       

      The result from parent.parent.tableau - when accessed without embed

       

       

      The result from parent.parent.tableau - when accessed with embed = y

       

       

      Key was to use the function "VizManager.getVizs()" , to access Tableau JS API.

       

      Have tried, accessing "window.parent" to access the object, I can access the object but not the functions such as "VizManager.getVizs()"

       

      Thanks in Advance, for your time.

       

      Ravi