1 Reply Latest reply on Jan 12, 2016 12:06 PM by Andrew Ellison

    Mixed content error while loading Tableau view in Salesforce using Sparkler.

    Bhargav Uppalapu

      We are using Tableau Sever over a Load Balancer and we have a SSL installed in the LB. We have setup the Sparkler for viewing the Tableau views in our Salesforce page. The sparkler status is good when tested.  We are getting an Mixed content error while trying to load the Tableau view in the salesforce. The view can be loaded if we allow the mixed content to be loaded via the browser settings.



      The Canvas and the url that it is using for getting the tableau view is using https. The Canvas is as below



      <script type="text/javascript" src="https://xxtableauxxxxxxxxxx.com/javascripts/api/viz_v1.js"></script>

        <font color="red" size="-1">WARNING: The Sparkler status page is enabled. Please disable in production environments.</font><br/>

        <div class="tableauPlaceholder" style="width:1000px; height:812px;">

        <object class="tableauViz" width="1000" height="812" style="display:none;">

        <param name="host_url" value="https%3A%2F%2Fxxtableauxxxxxxxxxx.com%2F" />

        <param name="name" value="XXXXXXXXXXXXXXXXXX&#47;XXXXXXXXXXXXXXXXXXX" />

        <param name="tabs" value="no" />

        <param name="toolbar" value="no" />


        <param name="ticket" value="L9kXXXXXXXXXXXXXXXXXXXAd0" />







      The only place where we can see the HTTP request as shown below.



      Header 1

      <tr class="share_mobile_only"



      <div class="shareVizOption">Link:</div><table class="shareVizHelpText">




      <a href="mailto:?body=http%3A%2F%2Fxxtableauxxxxxxxxxx.com%2Fviews%2XXXXXXXXXXXXXXXXXX%2FXXXXXXXXXXXXXXXXXX%3F%3Aincrement_view_count%3Dno%26%3Aembed%3Dy%26%3AloadOrderID%3D0%26%3Atoolbar%3Dno%26%3Atabs%3Dno%26%3Adisplay_count%3Dno" id="share_mailto_a" class="tableau wcIconMail">





      <td>Tap icon to send the link by email</td>






      <a target="_blank" id="share_link_a" class="tableau wcIconLink" href="http://xxtableauxxxxxxxxxx.com/views/XXXXXXXXXXXXXXXXXX/XXXXXXXXXXXXXXXXXX?:increment_view_count=no&:embed=y&:loadOrderID=0&:toolbar=no&:tabs=no&:display_count=no">





      <td>Tap and hold icon to access other sharing options








      We are not sure whether this is the cause for the mixed content error.