Embed Tableau
The only thing I had to do to embed a tableau dashboard in a NextJS site was to call the iframe and append [TODO: Code shorthand span ] to the URL like :
<iframe
width="1366"
height="758"
src="https://tableau.example.com/views/SomeThing/SomeThing?:embed=y"
></iframe>
There were some other options that shoed up when I sniffed the iframe out from the javascript, they were :
:embed=y&:showVizHome=n&:tabs=y&:apiID=host0"
I took all of them out except the [TODO: Code shorthand span ] and the dashboard still worked. As soon as I took embed out, I got errors like :
To protect your security, tableau.acebi.us will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window.
And : Blank Screen and Error "Refused to display [TODO: Code shorthand span ] in a frame because it set 'X - Frame - Options' to 'SAMEORIGIN'" When Loading an Embedded View
And
[TODO: Code shorthand span ] in Chrome
The embed also works with my authentication/authorization which was handled by OneLogin (I expect the built in auth would work too)