QBoard » Advanced Visualizations » Viz - Tableau » Tableau Angular2 Integration

Tableau Angular2 Integration

  • Has anyone tried building an Angular2 application with tableau visualizations integrated in it using the Tableau JavaScript API?

    According to the documentation, you're supposed to include the following script in your file which will create a Tableau global variable:

    <script src="https://YOUR-SERVER/javascripts/api/tableau-2.js"></script>

    I'm not sure how to access this global variable within an Angular2 class.

    This post was edited by Samar Patil at December 28, 2021 12:47 PM IST
      December 28, 2021 12:46 PM IST
    0
  • Im using ng2-admin template and I was able to successfully integrate Tableau and Angular2.

    Copy this script <script src="https://YOUR-SERVER/javascripts/api/tableau-2.js"></script> in index.html and paste it within its <body>. Then copy the embed code in any of the components html file within a div.

      January 1, 2022 1:56 PM IST
    0