Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

emmablisa_33397's avatar
emmablisa_33397
Icon for Nimbostratus rankNimbostratus
Feb 16, 2018

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:

 

 

2 Replies

  • We are going to utilize Tableau Javascript API for embedding the report.

     

    The Tableau JavaScript API uses an object model. The entry point into the object model is to instantiate a new Viz object as follows:

     

    var viz = new tableau.Viz( /* params omitted */ ); Steps to do Prerequisites — Get the visualization url of your Tableau report/dashboard

     

    Let’s follow the below steps for embedding the report in Angular application:-

     

    Step 1: Adding API file in index.html

     

    As a first step we need to add the below Tableau API file in the index.html of our Angular application.

     

    https://public.tableau.com/javascripts/api/tableau-2.min.js

     

     

  • This seems like a question that would be better posed to a community like Stack Exchange.