Project

General

Profile

Support #9207

display dashboards made in Tableau?

Added by Marilyn Weber over 3 years ago. Updated over 3 years ago.

Status:
Reporter Feedback
Priority name:
Normal
Assignee:
Category name:
-
Target version:
Start date:
2018-02-13
Due date:
% Done:

0%

Estimated time:

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?


Related issues

Related to CUNY Academic Commons - Feature #11447: Tableau Embeds on Academic Commons SitesResolved2019-05-11

History

#1 Updated by Boone Gorges over 3 years ago

  • 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.

#2 Updated by Marilyn Weber over 3 years ago

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>

#3 Updated by Boone Gorges over 3 years ago

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).

#4 Updated by Matt Gold over 3 years ago

  • Assignee set to Boone Gorges

#5 Updated by Boone Gorges over 3 years ago

  • 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.

#6 Updated by Boone Gorges over 2 years ago

  • Related to Feature #11447: Tableau Embeds on Academic Commons Sites added

Also available in: Atom PDF