<?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: Desktop JS SDK Sample - Sample Widget working with the SDK library in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/desktop-js-sdk-sample-sample-widget-working-with-the-sdk-library/m-p/4627508#M3221</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="user-badges-list"&gt;&lt;SPAN&gt;&amp;nbsp;Greg,&lt;BR /&gt;&lt;BR /&gt;Thank you for the feedback.&lt;BR /&gt;&lt;BR /&gt;On your&amp;nbsp; 1st question.... is that the only field that shows aas undefined ?&amp;nbsp; I notice, timing play a bit of a role here... if you refresh browser, does Team still display as undefined ?&lt;BR /&gt;&lt;BR /&gt;and your second question, Ill have to spend some time on it.. but off top of my head, sounds like you would want to run an array/filter method to iterate over all the EP/queues&amp;nbsp; and then render them as a pull-down list etc....&amp;nbsp; &amp;nbsp;but as mentioned some extra thought design needed to best/ease of use .. to accomplish your use case...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 23:02:29 GMT</pubDate>
    <dc:creator>ntheolog</dc:creator>
    <dc:date>2022-06-07T23:02:29Z</dc:date>
    <item>
      <title>Desktop JS SDK Sample - Sample Widget working with the SDK library</title>
      <link>https://community.cisco.com/t5/webex-for-developers/desktop-js-sdk-sample-sample-widget-working-with-the-sdk-library/m-p/4626630#M3220</link>
      <description>&lt;P&gt;Thanks for the great example Niko..&lt;/P&gt;&lt;P&gt;A couple of things here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Desktop&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;agentStateInfo&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;latestData&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;teamName&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;doesn't seem to return the Team Name of the agent, why would that be undefined?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I have a use case where an agent would use a Widget transfer list (list defined and editable in Desktop Layout json) as many selectable one-click transfers to different EPs/Queues, I see the transfer in this example uses vteamId hard coded, any thoughts on getting the vteamId's from the EP/Queue names in the Desktop layout list?&amp;nbsp; An example or description would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 06:19:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/desktop-js-sdk-sample-sample-widget-working-with-the-sdk-library/m-p/4626630#M3220</guid>
      <dc:creator>GregLacco</dc:creator>
      <dc:date>2022-06-07T06:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Desktop JS SDK Sample - Sample Widget working with the SDK library</title>
      <link>https://community.cisco.com/t5/webex-for-developers/desktop-js-sdk-sample-sample-widget-working-with-the-sdk-library/m-p/4627508#M3221</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="user-badges-list"&gt;&lt;SPAN&gt;&amp;nbsp;Greg,&lt;BR /&gt;&lt;BR /&gt;Thank you for the feedback.&lt;BR /&gt;&lt;BR /&gt;On your&amp;nbsp; 1st question.... is that the only field that shows aas undefined ?&amp;nbsp; I notice, timing play a bit of a role here... if you refresh browser, does Team still display as undefined ?&lt;BR /&gt;&lt;BR /&gt;and your second question, Ill have to spend some time on it.. but off top of my head, sounds like you would want to run an array/filter method to iterate over all the EP/queues&amp;nbsp; and then render them as a pull-down list etc....&amp;nbsp; &amp;nbsp;but as mentioned some extra thought design needed to best/ease of use .. to accomplish your use case...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 23:02:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/desktop-js-sdk-sample-sample-widget-working-with-the-sdk-library/m-p/4627508#M3221</guid>
      <dc:creator>ntheolog</dc:creator>
      <dc:date>2022-06-07T23:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Desktop JS SDK Sample - Sample Widget working with the SDK library</title>
      <link>https://community.cisco.com/t5/webex-for-developers/desktop-js-sdk-sample-sample-widget-working-with-the-sdk-library/m-p/4627556#M3222</link>
      <description>&lt;P&gt;Thanks Niko,&lt;/P&gt;&lt;P&gt;Agent Session ID is also initially blank. as you suggest, I was able to get Team to sometimes display after a browser refresh, so as you say looks like timing. I found putting a delay like this fixes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;constructor&lt;/SPAN&gt;&lt;SPAN&gt;() {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;async function test() {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; await new Promise(resolve =&amp;gt; setTimeout(resolve, 100));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN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&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the one-click transfer console widget, rather than a drop down list, we were considering a (fixed) format of named buttons for the transfers in an x-y layout, that way we could have a predefined layout and any undefined buttons could be defined as "Vacant" and defined as required in the Desktop layout json file.&amp;nbsp; Look and feel like a multi-button keyset phone. Speed of the agent to transfer these calls to appropriate EP/Queue (low agent handle time) is required.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 02:38:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/desktop-js-sdk-sample-sample-widget-working-with-the-sdk-library/m-p/4627556#M3222</guid>
      <dc:creator>GregLacco</dc:creator>
      <dc:date>2022-06-08T02:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Desktop JS SDK Sample - Sample Widget working with the SDK library</title>
      <link>https://community.cisco.com/t5/webex-for-developers/desktop-js-sdk-sample-sample-widget-working-with-the-sdk-library/m-p/4627888#M3223</link>
      <description>&lt;P&gt;Hi Greg,&lt;BR /&gt;&lt;BR /&gt;Great suggestion. thanks for sharing your input on the community! This is very helpful!&lt;BR /&gt;&lt;BR /&gt;As for the one-click, would love to see it once you design it out.&lt;BR /&gt;&lt;BR /&gt;thanks again Greg.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 13:32:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/desktop-js-sdk-sample-sample-widget-working-with-the-sdk-library/m-p/4627888#M3223</guid>
      <dc:creator>ntheolog</dc:creator>
      <dc:date>2022-06-08T13:32:54Z</dc:date>
    </item>
  </channel>
</rss>

