09-19-2024 06:18 AM
I'm currently exploring the Webex CC headless widget and have come across the following configuration in the widget setup:
"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 understand that these headless widgets do not have a visual interface. However, I am trying to figure out how to access the attribute values (like outDialAni
, crmLibPath
, etc.) in the script file specified in the script
property.
Could someone provide guidance or point me to relevant documentation on how to properly read these attribute values inside the script file?
09-20-2024 01:57 AM
The "ouDialAni" property allows you to override the Outdial ANI specified, for click to dial. It's an optional field, its default value is the one set on the tenant or Agent Profile.
Looks like you're using the Salesforce connector, there is a detailed Lab for it here, I think it might help.
09-26-2024 03:57 AM
I am currently reviewing the Salesforce connector and would like to know how to read attributes from a headless object from the desktop layout file in a headless script file.
For example, you are reading crmLibPath
in the script file located at
https://cx-crmconnector.ciscoccservice.com/salesforce/v1.1.9/dist/index.js
. I am looking for a code sample or guidance on how to read user-defined fields for a headless widget within a script file.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide