Project

General

Profile

Actions

Support #9207

closed

display dashboards made in Tableau?

Added by Marilyn Weber almost 7 years ago. Updated over 1 year ago.

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

0%

Estimated time:
Deployment actions:

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 SitesResolvedRaymond Hoh2019-05-11

Actions
Actions #1

Updated by Boone Gorges almost 7 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.

Actions #2

Updated by Marilyn Weber over 6 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>

Actions #3

Updated by Boone Gorges over 6 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).

Actions #4

Updated by Matt Gold over 6 years ago

  • Assignee set to Boone Gorges
Actions #5

Updated by Boone Gorges over 6 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.

Actions #6

Updated by Boone Gorges over 5 years ago

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

Updated by Marilyn Weber over 1 year ago

I'm going through my old tickets. I think this can be closed.

Actions #8

Updated by Boone Gorges over 1 year ago

  • Status changed from Reporter Feedback to Abandoned
Actions

Also available in: Atom PDF