cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
432
Views
0
Helpful
1
Replies

WebEx contact center Desktop layout

uzair.anwar
Level 1
Level 1
 "headless": {
"id": "dw-headless",
"widgets": {
"comp1": {
"comp": "agentx-custom-desktop",
"script":"https://cx-crmconnector.ciscoccservice.com/salesforce/v1.1.9/dist/index.js",
"attributes": {
"outDialAni":"<OutDialAniValue>",
"crmLibPath":"https://cx-crmconnector.ciscoccservice.com/salesforce/v1.1.9/webexcc_salesforce_desktop.min.js",
"openctiLibPath":"https://cx-crmconnector.ciscoccservice.com/salesforce/v1.1.9/lib/opencti_v48.js,https://cx-crmconnector.ciscoccservice.com/salesforce/v1.1.9/lib/integration.js",
"nameOfOpenCtiFileName" : "opencti_v48.js",
"isSFDCWidgetEnabled":"false",
"agentTeamName" : "$STORE.agent.teamName"
}
}
}

 I am working with Webex Contact Center and Salesforce integration. In the JSON configuration for salesforce, there are references to several JavaScript files such as index.js, webexcc_salesforce_desktop.min.js, opencti_v48.js, and integration.js. Could you provide more information about what these files do and where I can find documentation or references for these specific files? I couldn't find related reference documents."

1 Reply 1

Raffaele Lagana
Cisco Employee
Cisco Employee

Hello, I looked into these JS files and they are basically there to provide the functionality that you see with the CC Desktop layout on Salesforce. They have code logic that integrates with the Salesforce CRM Console, to give you the desired functionality. To be more specific, the index.js file is simply there to provide the custom widget desktop layout, essentially the custom UI for the CC desktop layout seen on Salesforce and its functions. The webexcc_salesforce_desktop.min.js is a bundle js file that helps the index.js file with some custom logic between the CC Desktop layout and the integration requirements that Salesforce CRM Console has (their APIs and so on). The integration.js file provides the integration functionality where the CRM Console APIs are called and Authorizations to them occurs.

And finally the opencti_v48.js file gives the suite of Javascript APIs that Salesforce provides, to make this integration possible. Open CTI information can be found here: https://help.salesforce.com/s/articleView?id=sf.cloud_cti_api_overview.htm&type=5.

If you're looking for anything more specific, please provide details on that.