Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 656 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 656 Bytes

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