Ellie Fields This documentation outlines how to configure a connected app between an instance of tableau server on heroku and salesforce. Is there a way to do this between tableau online and salesforce directly without installing server on heroku?
It's actually a Tableau adapter that gets installed on Heroku which allows Salesforce to communicate to Tableau via Salesforce canvas framework. An alternate way to embed dashboards would be to create a WebTab page in Salesforce and reference the Tableau Online url of the dashboard. Just note that you will have to login to Tableau Online in order to reference the dashboard. We are currently looking into how we can do this directly.
Reposting response from other thread
Regarding trusted authentication, that feature is not available at this time.
Hi, Samson. I have tried the solution to embed dashboards in Salesforce. that is to create a web page in Salesforce and reference the Tableau Online url of the dashboard. But a issue appears that HTTP request is blocked within HTTPS sites. is there any way to solve it? Thanks for any help.samson.kim
Where is the http request of issue? Is it the call to the canvas application(sparkler) or another source? Unfortunately, Salesforce canvas enforces HTTPS(which is a good thing to ensure the applications that are integrated in Salesforce are going through a secure channel). It does present some additional upfront work to make sure all pieces are securely setup. Is there a reason why the http request cannot be converted to https? Hope this helps. Let me know if you have any additional questions.
<div class='tableauPlaceholder' style='width: 792px; height: 556px;'>
<a href='null'><img alt='2010 GDP per capita by country ' src='http://public.tableausoftware.com/static/images/Wo/WorldIndicators_148/GDPpercapita/1_rss.png' style='border: none' /></a>
<object class='tableauViz' width='792' height='556' style='display:none;'>
<param name='host_url' value='http%3A%2F%2Fpublic.tableausoftware.com%2F' />
<param name='site_root' value='' />
<param name='name' value='WorldIndicators_148/GDPpercapita' />
<param name='tabs' value='no' />
<param name='toolbar' value='yes' />
<param name='static_image' value='http://public.tableausoftware.com/static/images/Wo/WorldIndicators_148/GDPpercapita/1.png' />
<param name='animate_transition' value='yes' />
<param name='display_static_image' value='yes' />
<param name='display_spinner' value='yes' />
<param name='display_overlay' value='yes' />
<param name='display_count' value='yes' />
<param name='filter' value='amp;:showVizHome=no' />
<div style='width:792px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;'>
<div style='float:right; padding-right:8px;'>
<a href='http://www.tableausoftware.com/public/about-tableau-products?ref=http://public.tableausoftware.com/views/WorldIndicators_148/GDPpercapita' target='_blank'>Learn About Tableau</a>
You do not have to use canvas, you can embed via iframe as well. With Canvas, we are leveraging SFDC's framework for better integration scenarios. I see a lot of http references. Try switching to https.
How can I better understand what you mentioned above "With Canvas, we are leveraging SFDC's framework for better integration scenarios" - we have a few embedded Tableau workbooks in our SFDC instance:
-one that simply uses an URL with a Parameter (shows account level data on the account page in SFDC)
-one that uses an iFrame, using row level security to display only the data relevant to the user logged in
Why should I consider Canvas - Sparkler/Heroku?
Since you already have an embedded solution using iFrames, that may be all you need. The only things I can ask to help you determine if you need it or not is:
- What is your authentication situation? Do you have to log into Tableau or do you have SAML or trusted ticket authentication in place for SSO?
- From a security and administrative standpoint, granting user access to embedded dashboards is centralized via the salesforce connected app(Sparkler) rather than granting access to each salesforce page with the embedded dashboard
- Salesforce canvas applications can be extended to be run on Salesforce1(the mobile platform). This is being investigated
- Also the ability to post embedded dashboards to a chatter feed to share with others is possible using Salesforce canvas
Hope this helps
in the past days, I tried a lot but failed. the http issue actually is shown below.
related code below,
and another solution with Canvas. the problem below appeared.
related code below,
<apex:canvasApp applicationName="Sparkler" height="812px" width="1000px" parameters="
'ts.hostUrl': 'https://demo8apac.tableausoftware.com/', 'ts.siteRoot': '/t/Site78',
'ts.name': 'WorldIndicators_TableauDemo/GDPpercapita', 'ts.tabs': 'yes',
I have no idea what's wrong. Please help.
Note that I switched http to https
Regarding your canvasApp snippet url, http://demo8apac.tableausoftware.com/ does not have https support. Https is not enabled, that is your issue. Find a tableau server that has SSL support.
2 other things, the integration does not work for Mozilla Firefox, try chrome, safari, or internet explorer. Also you need to set your browser to support 3rd party cookies.
i see. Big thanks, Kim.