It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there any way to show a Tableau workbook in Confluence without using Tableau server?

It looks like people have found a way to show a Tableau workbook in Confluence (using HTML/javascript with an HTML gadget or one of the gadgets in the market place) once it is put onto a Tableau server. Is there a way to show a Tableau workbook in Confluence if it is saved on a local or global drive?

4 answers

1 accepted

3 votes
Answer accepted

Hi Ben,

As someone who administers Tableau Server, this is something I have explored many times, but maybe from a slightly different perspective than yours. It sounds like you may not have access to Tableau Server, so using it at any point in this process is not an option. Instead, I think you are looking for a way to get that embedded view, like Daniel shared above, by using a TWB file only.

The challenge is that in the Tableau line of products, Tableau Server is the only product that is capable of generating the HTML/Javascript required to embed live/dynamic views (you can always get a static image, but I'm sure you already know that has limited value and comes with manual work). That being the case, the answer to whether or not you can embed a live view from a Tableau workbook without Tableau Server is typically a "no." There are two possible options I can think of, one of which I wouldn't recommend:

  1. Tableau workbooks are XML, so maybe you could find or write a script to extract everything you need and generate HTML/Javascript (not recommended or practical).
  2. If the workbook data is not sensitive, you can publish it to Tableau Public for free and embed from there. The downside is that anyone can see your workbook.

This probably isn't the answer you are hoping for, but this is Tableau's intended use as I understand it. If it were easy to embed these views anywhere, why would people pay for Tableau Server?

Good luck and let me know if I misunderstood your question.,

Jason

Hello,

It looks like we've had similar thoughts and this addresses the question directly.

Thank you.

You're welcome. Glad I could help!

Tableau is a bit of a pain because most of the views you'll create need to be exported regularly. And it's expensive, so you've either got a tradeoff of "lots of people with expensive licenses" to view directly from the Tableau server or "the view is always out of date".

Add to the frustration of many browsers not supporting file:/// locations and it's probably better to pull straight from Tableau if you've already got licenses assigned. At my organization, we do embed from Tableau server using the Bob Swift HTML for Confluence macro

For your convenience, here's our documented steps to embed a view:

  1. Log into your Tableau server
  2. Open the view you want to embed
    image.png
  3. Click the Share button along the top of the view
    image.png
  4. Select and copy the code provided under "Embed code"
    image.png
  5. Create a Confluence page (or edit one you want to embed the view on)
  6. Click the Macro menu and select "Other Macros"
    image.png
  7. Search for "html" and select the HTML macro
    image.png
  8. Paste the code you copied from Tableau into the macro body and save the page

If someone tries to see your views but is not logged into Tableau, they will be prompted to login and then the views will load.

Hi - I'm following the above instructions, but it is not rendering on the page. Any suggestions?

Hi, Can the embedding be done with standard HTML Macro? Thanks :)

HI Daniel, i tried using your above option however, getting an error message, so unsure how to resolve this.

Error rendering macro 'html'

Space with key '<script type='text/javascript' src='https' not found.

thx

0 votes
AnnWorley Atlassian Team Apr 09, 2018

Hi Ben,

We have discussed at length the options for displaying files from shares (mapped drives, NAS, SAN, etc) on this thread: 
Confluence: How to place a link to a file on a server share in a confluence page?

There are a lot of options so I hesitate to repeat them.

Thanks,

Ann

I appreciate both answers provided so far.  However, I was aware of both possibilities and while they are options they aren't direct solutions to the question. Unless somebody else is aware of another solution it looks like we'll need to keep using Tableau reader.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

52 views 2 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you