tableau-react | Tableau React component integrated with Tableau JS API | Frontend Framework library
kandi X-RAY | tableau-react Summary
kandi X-RAY | tableau-react Summary
Tableau React component integrated with Tableau JS API.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tableau-react
tableau-react Key Features
tableau-react Examples and Code Snippets
Community Discussions
Trending Discussions on tableau-react
QUESTION
I am trying to embed Tableau worksheets into my ReactJS application. I have a menu with a list of report names (in react) and when the menu item is clicked, it updates state which contains the report name. I decided to use the tableau-react npm package to complete this task.
When I first click on a menu item, it properly embeds the tableau report onto the page. When I click on another menu item (updating the state which is feeding the url) the tableau report refreshed, but continues to show the first report as if the url did not change. If I then click on a third menu item, the embed tableau report will refresh again, but this time it will show the second report item I clicked. Every subsequent menu item click refreshes the embed tableau report to the previous item clicked.
I am controlling state using Redux and in the Redux Dev Tools I've determined that everything with state is running correctly. Every menu item click properly updates state. I also put a console.log on the url that is being passed to the TableauReport url attribute, and that is correct also.
...ANSWER
Answered 2019-Aug-06 at 10:28There was an issue with the tableau-react npm package. When changing the url, it was not properly taking the new url and passing it to tableau. I discussed the issue with the owner of tableau-react and we got a change deployed to fix the issue.
Fix pull request: https://github.com/coopermaruyama/tableau-react/pull/16
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tableau-react
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page