cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7935
Views
0
Helpful
29
Replies

webex teams gadget

ravi.kumar1
Level 1
Level 1

 

System version: 10.6.1.11002-15
i have downloaded the gadget from below link
 
 
followed the instructions and when i send a message using the gadget i get the below error and as u can see it is not loading the gadget properly.
 
I get the Cisco webex authentication page before this and am able to authenticate successfully.
 
webex.JPG
 
 
29 Replies 29

dekwan
Cisco Employee
Cisco Employee

Hi,

 

What do you have in your desktop layout? I was able to reproduce this issue when I forgot to add the parameters to the url. The documentation states (where you change the webexTeamsRoom to one of the user's rooms:

<gadget>/3rdpartygadget/files/WebexTeamsTeamAnnouncements/WebexTeamsTeamAnnouncements.xml?gadgetTitle=Webex%20Teams%20Team%20Announcem
     ents&webexTeamsRoom=Y2lzY29zcGFyazovL3VzL2JPT00vNDFlZDBiMzAtMDZ0MDky&maxMessages=10</ga
     dget>

 

When I added this with the proper webexTeamsRoom for my logged in user, it worked fine.

 

Thanx,

Denise

I had replaced the 'id' with the id of a space i have on my webex teams. Everything else is as it is in the document.

I added the gadget under team data.

Take a look at the browser console to see what the error is in the console logs. It should give some sort of error to tell you what the issue is.

this is the gadget

 

webex.JPG

That looks right, assuming that is a valid id for that user. So, take a look at the console logs and there should be an error.

Can u show me the screenshot of how your webex team gadget looks like

this is what i see in the console logs

 

018-10-17T01:06:16.730 +05:30: : eipsccxsa01.broadridge.net: Oct 16 2018 15:36:16.740 -0400: WebexTeamsTeamAnnouncementsGadget : _getAccessToken(): Successfully retrieved the access token
concat:15435:17
2018-10-17T01:06:16.990 +05:30: : eipsccxsa01.broadridge.net: Oct 16 2018 15:36:17.000 -0400: WebexTeamsTeamAnnouncementsGadget : _updateGadget(): An error occurred while retrieving the messages for the room.
concat:15435:17
2018-10-17T01:06:17.739 +05:30: : eipsccxsa01.broadridge.net: Oct 16 2018 15:36:17.749 -0400: WebexTeamsTeamAnnouncementsGadget : _updateGadget(): Webex Teams Room Id: Webex Teams Team Announcements
concat:15435:17
2018-10-17T01:06:17.740 +05:30: : eipsccxsa01.broadridge.net: Oct 16 2018 15:36:17.750 -0400: WebexTeamsTeamAnnouncementsGadget : _getAccessToken(): Getting the access token
concat:15435:17
2018-10-17T01:06:17.745 +05:30: : eipsccxsa01.broadridge.net: Oct 16 2018 15:36:17.755 -0400: WebexTeamsTeamAnnouncementsGadget : _getAccessToken(): Successfully retrieved the access token
concat:15435:17
2018-10-17T01:06:18.016 +05:30: : eipsccxsa01.broadridge.net: Oct 16 2018 15:36:18.026 -0400: WebexTeamsTeamAnnouncementsGadget : _updateGadget(): An error occurred while retrieving the messages for the room.
concat:15435:17
2018-10-17T01:06:18.177 +05:30: : eipsccxsa01.broadridge.net: Oct 16 2018 15:36:18.187 -0400: Header : [ClientServices] MasterPublisher._parseAndPublishJSONEvent() - Received JSON event on node 'cuic-58020-desktop': {"ROWS":[{"id":"OttoB","operation":"UPDATE","VoiceCSQDetailsStats":{"agentId":"OttoB","agentName":"Briana Efram","agentState":"Not Ready","skillGroup":"","agentStateDuration":22856260,"reasonCode":32760,"AgentVoiceCSQNames":[{"agentVoiceCSQName":"EM-Dul-Merrill Lynch"},{"agentVoiceCSQName":"EM-Dul-MorgStan1"},{"agentVoiceCSQName":"EM-Dul-MorgStan2"},{"agentVoiceCSQName":"EM-Dul-General"},{"agentVoiceCSQName":"EM-Dul-Oppenheimer"},{"agentVoiceCSQName":"EM-Dul-UBS"},{"agentVoiceCSQName":"EM-Dul-TDWealth"},{"agentVoiceCSQName":"EM-Dul-Baird"},{"agentVoiceCSQName":"EM-Dul-Allstate"},{"agentVoiceCSQName":"EM-Dul-Humana"}]}},{"id":"JewellJ","operation":"UPDATE","VoiceCSQDetailsStats":{"agentId":"JewellJ","agentName":"Jeanne Jewell","agentState":"Ready","skillGroup":"","agentStateDuration":157487,"reasonCode":0,"AgentVoiceCSQNames":[{"agentVoiceCSQName":"EM-Dul-Allstate"},{"agentVoiceCSQName":"EM-Dul-Humana"}]}},{"id":"GunterT","operation":"UPDATE","VoiceCSQDetailsStats":{"agentId":"GunterT","agentName":"Tonia Gunter","agentState":"Not Ready","skillGroup":"","agentStateDuration":2159535,"reasonCode":300,"AgentVoiceCSQNames":[{"agentVoiceCSQName":"EM-Dul-Merrill Lynch"},{"agentVoiceCSQName":"EM-Dul-MorgStan1"},{"agentVoiceCSQName":"EM-Dul-MorgStan2"},{"agentVoiceCSQName":"EM-Dul-TDWealth"},{"agentVoiceCSQName":"EM-Dul-UBS"}]}},{"id":"BondM","operation":"UPDATE","VoiceCSQDetailsStats":{"agentId":"BondM","agentName":"Michael Bond","agentState":"Ready","skillGroup":"","agentStateDuration":1002382,"reasonCode":0,"AgentVoiceCSQNames":[{"agentVoiceCSQName":"EM-Dul-Oppenheimer"},{"agentVoiceCSQName":"EM-Dul-Allstate"},{"agentVoiceCSQName":"EM-Dul-UBS"},{"agentVoiceCSQName":"EM-Dul-Humana"}]}},{"id":"LindS","operation":"UPDATE","VoiceCSQDetailsStats":{"agentId":"LindS","agentName":"Sarah Lind","agentState":"Talking","skillGroup":"EM-Dul-MorgStan1","agentStateDuration":1990996,"reasonCode":0,"AgentVoiceCSQNames":[{"agentVoiceCSQName":"EM-Dul-Merrill Lynch"},{"agentVoiceCSQName":"EM-Dul-MorgStan1"},{"agentVoiceCSQName":"EM-Dul-MorgStan2"},{"agentVoiceCSQName":"EM-Dul-Oppenheimer"},{"agentVoiceCSQName":"EM-Dul-UBS"}]}},{"id":"SwansonS","operation":"UPDATE","VoiceCSQDetailsStats":{"agentId":"SwansonS","agentName":"Samanthia Swanson","agentState":"Ready","skillGroup":"","agentStateDuration":913413,"reasonCode":0,"AgentVoiceCSQNames":[{"agentVoiceCSQName":"EM-Dul-Allstate"},{"agentVoiceCSQName":"EM-Dul-Humana"}]}},{"id":"SinnC","operation":"UPDATE","VoiceCSQDetailsStats":{"agentId":"SinnC","agentName":"Cody Sinn","agentState":"Ready","skillGroup":"","agentStateDuration":385489,"reasonCode":0,"AgentVoiceCSQNames":[{"agentVoiceCSQName":"EM-Dul-Merrill Lynch"},{"agentVoiceCSQName":"EM-Dul-MorgStan1"},{"agentVoiceCSQName":"EM-Dul-MorgStan2"},{"agentVoiceCSQName":"EM-Dul-General"},{"agentVoiceCSQName":"EM-Dul-Oppenheimer"},{"agentVoiceCSQName":"EM-Dul-RBCWM"},{"agentVoiceCSQName":"EM-Dul-TDWealth"},{"agentVoiceCSQName":"EM-Dul-Baird"},{"agentVoiceCSQName":"EM-Dul-UBS"}]}},{"id":"KarpinskyM","operation":"UPDATE","VoiceCSQDetailsStats":{"agentId":"KarpinskyM","agentName":"Mariana Karpinsky","agentState":"Ready","skillGroup":"","agentStateDuration":745206,"reasonCode":0,"AgentVoiceCSQNames":[{"agentVoiceCSQName":"EM-Dul-Merrill Lynch"},{"agentVoiceCSQName":"EM-Dul-MorgStan1"},{"agentVoiceCSQName":"EM-Dul-MorgStan2"},{"agentVoiceCSQName":"EM-Dul-UBS"}]}},{"id":"AchterbergR","operation":"UPDATE","VoiceCSQDetailsStats":{"agentId":"AchterbergR","agentName":"Ryan Achterberg","agentState":"Not Ready","skillGroup":"","agentStateDuration":2085540,"reasonCode":300,"AgentVoiceCSQNames":[{"agentVoiceCSQName":"EM-Dul-MorgStan1"},{"agentVoiceCSQName":"EM-Dul-MorgStan2"},{"agentVoiceCSQName":"EM-Dul-Allstate"},{"agentVoiceCSQName":"EM-Dul-Humana"}]}},{"id":"BerkeyS","operation":"UPDATE","VoiceCSQDetailsStats":{"agentId":"BerkeyS","agentName":"Sara Berkey","agentState":"Not Ready","skillGroup":"","agentStateDuration":17947,"reasonCode":200,"AgentVoiceCSQNames":[{"agentVoiceCSQName":"EM-Dul-Merrill Lynch"},{"agentVoiceCSQName":"EM-Dul-General"},{"agentVoiceCSQName":"EM-Dul-Oppenheimer"},{"agentVoiceCSQName":"EM-Dul-TDWealth"},{"agentVoiceCSQName":"EM-Dul-Baird"},{"agentVoiceCSQName":"EM-Dul-UBS"}]}},{"id":"BerkeyM","operation":"UPDATE","VoiceCSQDetailsStats":{"agentId":"BerkeyM","agentName":"Mark Berkey","agentState":"Talking","skillGroup":"EM-Dul-MorgStan1","agentStateDuration":29623,"reasonCode":0,"AgentVoiceCSQNames":[{"agentVoiceCSQName":"EM-Dul-Merrill Lynch"},{"agentVoiceCSQName":"EM-Dul-MorgStan1"},{"agentVoiceCSQName":"EM-Dul-MorgStan2"},{"agentVoiceCSQName":"EM-Dul-General"},{"agentVoiceCSQName":"EM-Dul-Oppenheimer"},{"agentVoiceCSQName":"EM-Dul-TDWealth"},{"agentVoiceCSQName":"EM-Dul-Baird"},{"agentVoiceCSQName":"EM-Dul-UBS"}]}},{"id":"ChamberlainD","operation":"UPDATE","VoiceCSQDetailsStats":{"agentId":"ChamberlainD","agentName":"Derrick Chamberlain","agentState":"Not Ready","skillGroup":"","agentStateDuration":1048185,"reasonCode":200,"AgentVoiceCSQNames":[{"agentVoiceCSQName":"EM-Dul-Merrill Lynch"},{"agentVoiceCSQName":"EM-Dul-MorgStan1"},{"agentVoiceCSQName":"EM-Dul-MorgStan2"},{"agentVoiceCSQName":"EM-Dul-General"},{"agentVoiceCSQName":"EM-Dul-Oppenheimer"},{"agentVoiceCSQName":"EM-Dul-RBCWM"},{"agentVoiceCSQName":"EM-Dul-TDWealth"},{"agentVoiceCSQName":"EM-Dul-Baird"},{"agentVoiceCSQName":"EM-Dul-UBS"},{"agentVoiceCSQName":"EM-Dul-Humana"}]}}],"JMSMessageID":"ID:EIPSCCXSA01-43386-1537956267290-0:2:2:1:599096","received":"1539718578031","published":"1539718578032"}
finesse.js:15420:17
2018-10-17T01:06:18.742 +05:30: : eipsccxsa01.broadridge.net: Oct 16 2018 15:36:18.752 -0400: WebexTeamsTeamAnnouncementsGadget : _updateGadget(): Webex Teams Room Id: Webex Teams Team Announcements
concat:15435:17
2018-10-17T01:06:18.743 +05:30: : eipsccxsa01.broadridge.net: Oct 16 2018 15:36:18.753 -0400: WebexTeamsTeamAnnouncementsGadget : _getAccessToken(): Getting the access token
concat:15435:17
2018-10-17T01:06:18.744 +05:30: : eipsccxsa01.broadridge.net: Oct 16 2018 15:36:18.754 -0400: WebexTeamsTeamAnnouncementsGadget : _getAccessToken(): Successfully retrieved the access token
concat:15435:17
2018-10-17T01:06:19.007 +05:30: : eipsccxsa01.broadridge.net: Oct 16 2018 15:36:19.017 -0400: WebexTeamsTeamAnnouncementsGadget : _updateGadget(): An error occurred while retrieving the messages for the room.

Hi,

 

Looking at the logs you pasted,

2018-10-17T01:06:18.742 +05:30: : eipsccxsa01.broadridge.net: Oct 16 2018 15:36:18.752 -0400: WebexTeamsTeamAnnouncementsGadget : _updateGadget(): Webex Teams Room Id: Webex Teams Team Announcements

it shows that the gadget isn't taking in the room Id because "Webex Teams Team Announcements" is the default value.

 

I looked closer at the screenshot of your desktop layout and it seems like you are missing '&' between the gadget title and the webexTeamsRoom. So the gadget doesn't realize that you have another parameter.

 

Thanx,

Denise

 

with that too its not working..

 

<gadget>/3rdpartygadget/files/WebexTeamsTeamAnnouncements/WebexTeam
sTeamAnnouncements.xml?gadgetTitle=Webex%20Teams%20Team%20Announcem
ents&webexTeamsRoom=Y2lzY29zcGFyazovL3VzL1JPT00vZWExYTNjMjAtY2Q5MS0xMWU4LTlmNjYtZjdiYjgwM2ViZTA0&maxMessages=10</gadget>

 

id from here:

 

id.JPG

 

What does the console logs say now... Is it the same error that I had pasted?

this is the error from the console logs

 

2018-10-19T13:05:19.418 +05:30: B34CBA: 10.0.193.8: Oct 19 2018 03:35:19.055 -0400: WebexTeamsTeamAnnouncementsGadget : _updateGadget(): Webex Teams Room Id: Y2lzY29zcGFyazovL3VzL1JPT00vZWExYTNjMjAtY2Q5MS0xMWU4LTlmNjYtZjdiYjgwM2ViZTA0
concat:15477:17
2018-10-19T13:05:19.419 +05:30: B34CBA: 10.0.193.8: Oct 19 2018 03:35:19.056 -0400: WebexTeamsTeamAnnouncementsGadget : _getAccessToken(): Getting the access token
concat:15477:17
2018-10-19T13:05:19.420 +05:30: B34CBA: 10.0.193.8: Oct 19 2018 03:35:19.057 -0400: WebexTeamsTeamAnnouncementsGadget : _getAccessToken(): Unable to retrieve the access token
concat:15477:17
2018-10-19T13:05:19.420 +05:30: B34CBA: 10.0.193.8: Oct 19 2018 03:35:19.057 -0400: WebexTeamsTeamAnnouncementsGadget : _updateGadget(): The access token is not available yet. Try again in the next iteration.
concat:15477:17

From the logs that you pasted, the gadget isn't able to get the access token.

2018-10-19T13:05:19.420 +05:30: B34CBA: 10.0.193.8: Oct 19 2018 03:35:19.057 -0400: WebexTeamsTeamAnnouncementsGadget : _getAccessToken(): Unable to retrieve the access token

 

Are you accepting the integration request from webex teams that pops up? If so, what are you putting in the following code in the files:

    var finesseDomain = ""; // Fill in your Finesse domain
    // Fill in the OAuth Authorization URI from the Webex Teams Integration Details page
    var OAuthAuthorizationURL = "";

var finesseDomain = ""; // Fill in your Finesse domain
var redirectURI = ""; // Fill in the same value as the `Redirect URI(s)` field of the Webex Teams

yes am accepting the integration pop up. Below is the information

 

var finesseDomain = "broadridge.net"; // Fill in your Finesse domain
    // Fill in the OAuth Authorization URI from the Webex Teams Integration Details page
    var OAuthAuthorizationURL = "https://api.ciscospark.com/v1/authorize?client_id=C596d0675e4211a4f976fbc9f415428fe9342eadaccf7cbddd93f778e38c17156&response_type=code&redirect_uri=https%3A%2F%2Feipsccxsa01.broadridge.net%3A8445%2F3rdpartygadget%2Ffiles%2FWebexTeamsTeamAnnouncements...";

auth.jpg

 

 

and below information from the integration page

var finesseDomain = "broadridge.net"; // Fill in your Finesse domain
                var redirectURI = "https://eipsccxsa01.broadridge.net:8445/3rdpartygadget/files/WebexTeamsTeamAnnouncements/oauth.html"
                var OAuthClientId = "C596d0675e4211a4f976fbc9f415428fe9342eadaccf7cbddd93f778e38c17156"; // Fill in the OAuth Client Id from the Webex Teams Integration Details page
                var OAuthClientSecret = "8b31b6597dd6930e4a6158a8136ecbf02c961f127bee09471846ebdb6e14f952";

Hmm. You filled everything out correctly. These are usually the issues people have when they accept the integration pop up and still have issues. I will have to think about it a little and will get back to you.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: