Skip to main content
We have a call center configured in salesforce environment. We are testing with salesforce console events in classic version. But they are not working. I am able to add the listner. But I am not getting the data back from the salesforce. 

Should I configure to make them work in salesforce environment?

I tried with the basic one "sforce.console.ConsoleEvent.CONSOLE_LOGOUT" in my CTI as well tried in the developer console by creating a sample apex code. But it is not calling back the handler. 
4 answers
  1. May 13, 2020, 10:06 AM
    Thank you Abhishek for your reply.

    But, I am looking for the salesforce console events to work in my app. I am trying something similar to apex code in the below link:

    https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_addeventlistener.htm

    Other resource is https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_methods_events.htm

    and the library we are using is https://[our domain].visual.force.com/support/console/33.0/integration.js
0/9000