Skip to content

edocbuhtig/tableau-integration-reactjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to add Salesforce Tableau in Reactjs

Screenshot

Tableau React

Intro

This code combines ES + Javascript mixture to demo how to achieve results using both.

Import Tableau JS API Lib

into <head> of /public/index.html

<script type="text/javascript" src="https://public.tableau.com/javascripts/api/tableau-2.min.js"></script>

Create a window instance for tableau object

const { tableau } = window;

Follow the Tableau API examples for filters and variation of worksheets

https://help.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_samples.htm