Change Tableau API Version for Connected Apps (JWT) Auth

Using the Tableau API that is not distributed with the system while embedding content can display an error indicating that this API version is not supported. Metric Insights allows you to specify the required API version manually in the code of an Intermediate Page. This article provides short instructions on how to proceed.

  • NOTE: An Intermediate Page is only implemented for embedding with the Connected Apps (JWT) Auth; otherwise, iframe is used by default.

Option 1

1. Access Tableau Intermediate Page

Access <hostname>/admin/intermediatepage

Access the Tableau JWT Intermediate Page

2. Modify Code

  1. Under the Editor tab, change the version of the tableau.embedding.X.Y.Z.min.js file to the required one.
    • You can get the current list of existing Tableau versions at Tableau embedding API. All versions from the list are already added to Metric Insights.
  2. [Save]

Option 2

You can upload a new Tableau embedding file and update the Intermediate page with it. Use this option only when using default drivers is impossible.

1. Upload Tableau Embedding File to Global Assets

Access Content > Apps > Global Assets

  1. Upload the required file. The files are specific to your Tableau environment. For the latest ones:
  2. Save the relative path of the file as you will need it in the next step.

2. Access Tableau Intermediate Page

Access <hostname>/admin/intermediatepage

3. Modify Code

  1. Specify the relative path to the file saved in the previous step.
  2. [Save]

How to Check Available Library Versions in Metric Insights

Run the following command from web container:

mi-web 
ls -lat /opt/mi/web/frontend/build/js/libs/tableau
Click to copy