Support #9207
closed
display dashboards made in Tableau?
Added by Marilyn Weber almost 7 years ago.
Updated over 1 year ago.
Description
User Nevin Cohen asks:
Is it possible to embed javascript code into a CAC webpage? I want to display dashboards made in Tableau on the site. Do I need a plug-in to do so, and if so, is there one available on the Commons?
- Status changed from New to Reporter Feedback
We don't allow users to input arbitrary JavaScript, for security reasons.
If the user could share links to a couple of specific embeddable items created with Tableau, I'll have a look to see if I can easily write a tool for embedding.
He replies:
"Here is the Embed Code generated for a dashboard that I created:
<script type='text/javascript' src='https://us-west-2b.online.tableau.com/javascripts/api/viz_v1.js'></script><div class='tableauPlaceholder' style='width: 1000px; height: 827px;'><object class='tableauViz' width='1000' height='827' style='display:none;'><param name='host_url' value='https%3A%2F%2Fus-west-2b.online.tableau.com%2F' /> <param name='embed_code_version' value='3' /> <param name='site_root' value='/t/urbanfoodpolicy' /><param name='name' value='BenefitsofUniversalFreeSchoolLunch/Dashboard1' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='showAppBanner' value='false' /><param name='filter' value='iframeSizedToWindow=true' /></object></div>
Thank you - this is helpful. Could you ask the reporter to also share the URL of a Tableau project? It appears that Tableau embeds need to have a couple unique pieces of info in order to generate the embed code, but it's not obvious to me where this data comes from. (It's hard because there doesn't appear to be such thing as a public Tableau project for me to test with.)
A note to self that https://github.com/maid0marion/Tableau-Wordpress-Plugin/blob/master/tableau-plugin/tableau-plugin.php appears to be the recommended WP plugin, but the iframe code it generates requires even more info than what's available through the JS embed (like the server name).
- Assignee set to Boone Gorges
- Target version set to Future release
Putting this in a future release. I'll circle back in a few cycles if I don't hear back from the reporter before then.
- Related to Feature #11447: Tableau Embeds on Academic Commons Sites added
I'm going through my old tickets. I think this can be closed.
- Status changed from Reporter Feedback to Abandoned
Also available in: Atom
PDF