-
1. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
Phil Bergner Apr 4, 2014 8:01 AM (in response to Ellie Fields)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?
-
2. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
samson.kim Apr 4, 2014 9:12 AM (in response to Phil Bergner)Hi Phil,
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.
-
3. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
Phil Bergner Apr 4, 2014 10:14 AM (in response to samson.kim)Thanks! I've actually configured it and will be using Sparkler to connect to Tableau online. What do I enter for the TABLEAU_JAVASCRIPT_LIB and TABLEU_SERVER vars if I'm connecting to Tableau online?
-
4. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
Phil Bergner Apr 4, 2014 10:39 AM (in response to Phil Bergner)Samson Kim Samson Kim I actually created a seperate question for this if thats more appropriate.
-
5. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
samson.kim Apr 4, 2014 11:21 AM (in response to Phil Bergner)Reposting response from other thread
Use this:
TABLEAU_SERVER=online.tableausoftware.com
TABLEAU_JAVASCRIPT_LIB=https://online.tableausoftware.com/javascripts/api/viz_v1.js
Regarding trusted authentication, that feature is not available at this time.
-
6. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
Leo Wang Apr 21, 2014 1:40 AM (in response to samson.kim)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
-
7. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
samson.kim Apr 21, 2014 9:43 AM (in response to Leo Wang)Hi Leo,
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.
Cheers
-
8. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
Leo Wang Apr 21, 2014 8:26 PM (in response to samson.kim)Thanks, @Samson.Kim. The issue that the http request was blocked appeared where I embedded the code below into Salesforce visualforce page directly and The Salesforce canvas solution wasn't used. Must I use canvas to fix the issue? is there another way?
<script type='text/javascript' src='http://public.tableausoftware.com/javascripts/api/viz_v1.js'></script><div class='tableauPlaceholder' style='width: 792px; height: 556px;'>
<noscript>
<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>
</noscript>
<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' />
</object>
</div>
<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>
</div>
</div>
-
9. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
samson.kim Apr 23, 2014 1:30 PM (in response to Leo Wang)Hi Leo,
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.
-
10. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
jessicareason6 Apr 23, 2014 2:48 PM (in response to samson.kim)Kim,
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?
Thanks.
-
11. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
samson.kim Apr 23, 2014 3:18 PM (in response to jessicareason6)Hi Jessica,
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
-
12. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
Leo Wang Apr 27, 2014 7:57 PM (in response to samson.kim)Hi Kim,
in the past days, I tried a lot but failed. the http issue actually is shown below.
related code below,
<apex:page>
<iframe src="http://public.tableausoftware.com/views/WorldIndicators_148/GDPpercapita?:embed=y&:display_count=no"/>
</apex:page>
and another solution with Canvas. the problem below appeared.
related code below,
<apex:page>
<apex:canvasApp applicationName="Sparkler" height="812px" width="1000px" parameters="
{
'ts.JavascriptLib': 'https://demo8apac.tableausoftware.com/Javascripts/api/viz_v1.js',
'ts.height': '812',
'ts.width': '1000',
'ts.hostUrl': 'https://demo8apac.tableausoftware.com/', 'ts.siteRoot': '/t/Site78',
'ts.name': 'WorldIndicators_TableauDemo/GDPpercapita', 'ts.tabs': 'yes',
'ts.toolbar': 'yes',
}"/>
</apex:page>
I have no idea what's wrong. Please help.
-
13. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
samson.kim Apr 28, 2014 9:41 PM (in response to Leo Wang)Hi Leo,
Try this:
<apex:page>
<iframe src="https://public.tableausoftware.com/views/WorldIndicators_148/GDPpercapita?:embed=y&:display_count=no"/>
</apex:page>
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.
-
14. Re: Documentation for the Tableau Salesforce Canvas solution is now available!
Leo Wang Apr 28, 2014 10:18 PM (in response to samson.kim)i see. Big thanks, Kim.