<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Webex CC Headless Widget: How to Read Attribute Values in script f in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/webex-cc-headless-widget-how-to-read-attribute-values-in-script/m-p/5196753#M3804</link>
    <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Looks like you're using the Salesforce connector, there is a detailed Lab for it &lt;A href="https://wxcctechsummit.github.io/wxcclabguides/TechSummitRoW_2021/CRM.html" target="_self"&gt;here&lt;/A&gt;, I think it might help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2024 08:57:29 GMT</pubDate>
    <dc:creator>Raffaele Lagana</dc:creator>
    <dc:date>2024-09-20T08:57:29Z</dc:date>
    <item>
      <title>Webex CC Headless Widget: How to Read Attribute Values in script file</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-cc-headless-widget-how-to-read-attribute-values-in-script/m-p/5196340#M3798</link>
      <description>&lt;P&gt;I'm currently exploring the Webex CC headless widget and have come across the following configuration in the widget setup:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;
"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": "&amp;lt;OutDialAniValue&amp;gt;",
        "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"
      }
    }
  }
}
&lt;/LI-CODE&gt;
&lt;P&gt;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 &lt;CODE&gt;outDialAni&lt;/CODE&gt;, &lt;CODE&gt;crmLibPath&lt;/CODE&gt;, etc.) in the script file specified in the &lt;CODE&gt;script&lt;/CODE&gt; property.&lt;BR /&gt;Could someone provide guidance or point me to relevant documentation on how to properly read these attribute values inside the script file?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 13:18:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-cc-headless-widget-how-to-read-attribute-values-in-script/m-p/5196340#M3798</guid>
      <dc:creator>uzair.anwar</dc:creator>
      <dc:date>2024-09-19T13:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Webex CC Headless Widget: How to Read Attribute Values in script f</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-cc-headless-widget-how-to-read-attribute-values-in-script/m-p/5196753#M3804</link>
      <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Looks like you're using the Salesforce connector, there is a detailed Lab for it &lt;A href="https://wxcctechsummit.github.io/wxcclabguides/TechSummitRoW_2021/CRM.html" target="_self"&gt;here&lt;/A&gt;, I think it might help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 08:57:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-cc-headless-widget-how-to-read-attribute-values-in-script/m-p/5196753#M3804</guid>
      <dc:creator>Raffaele Lagana</dc:creator>
      <dc:date>2024-09-20T08:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Webex CC Headless Widget: How to Read Attribute Values in script f</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-cc-headless-widget-how-to-read-attribute-values-in-script/m-p/5199320#M3816</link>
      <description>&lt;P&gt;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. &lt;BR /&gt;For example, you are reading &lt;CODE&gt;crmLibPath&lt;/CODE&gt; in the script file located at&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;https://cx-crmconnector.ciscoccservice.com/salesforce/v1.1.9/dist/index.js&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;. I am looking for a code sample or guidance on how to read user-defined fields for a headless widget within a script file.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 10:57:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-cc-headless-widget-how-to-read-attribute-values-in-script/m-p/5199320#M3816</guid>
      <dc:creator>uzair.anwar</dc:creator>
      <dc:date>2024-09-26T10:57:13Z</dc:date>
    </item>
  </channel>
</rss>

