• José Cervera
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi,
I'm trying to use the integration API in a Canvas application hosted in a 3rd party server, and shown in console mode. As per https://developer.salesforce.com/docs/atlas.en-us.api_cti.meta/api_cti/sforce_api_cti_connecting.htm (https://developer.salesforce.com/docs/atlas.en-us.api_cti.meta/api_cti/sforce_api_cti_connecting.htm), I'm including the following javascript in my server:
    <script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
    <script type="text/javascript" src="https://emea.salesforce.com/canvas/sdk/js/34.0/canvas-all.js"></script>
    <script  type="text/javascript"src="https://emea.salesforce.com/canvas/sdk/js/34.0/controller.js"></script>
    <script src="https://emea.salesforce.com/support/api/34.0/interaction.js" type="text/javascript"></script>
    <script src="https://emea.salesforce.com/support/console/34.0/integration.js" type="text/javascript"></script>

When I try to use the integration API, nothing happens (no error, no outgoing requets). Digging a bit, during the page initialization, I've found in the console the message: "Service Cloud Toolkit API cannot be used with your browser.". This message can be found in line 323 in integration.js, in a method that tries to initialize crossdomain communication, and in my case, fails.

Am I missing something? Isn't this 'scenario' (canvas in 3rd party server in console mode) supposed to works?
Thanks in advance,

José