coopermaruyama / tableau-react

Tableau React component integrated with Tableau JS API.
MIT License
77 stars 60 forks source link

Question showShareOptions #10

Closed snraets closed 5 years ago

snraets commented 5 years ago

This goes into the parameters prop? I can't get this part of the report to hide.

coopermaruyama commented 5 years ago

I am not familiar with the tableau API these days, but my guess is this prop::

<TableauReport options={{ toolbar: false }} />

But that may remove the whole toolbar.

I also just published v1.2.0 which lets you override the query options, so maybe something like this would work according to this old forum post:

<TableauReport
  url="..."
  query="?:embed=yes&:refresh=yes&:display_share=no"
/>
snraets commented 5 years ago

v1.2.0 fixed the problem. The updated code is below. Thanks

<TableauReport url="..." query="?:embed=yes&:showShareOptions=false" />