Blogs

Showing 1 - 5 of 22 results.
Items per Page 5
of 5

Forums

« Back to General Questions

RE: New Message from Kevin Pickard in 2385312 - General Questions: AgentId

Combination View Flat View Tree View
Threads [ Previous | Next ]
Is there any method for getting the AgentId off the user object?
 
I know the following exist.
 
user.getExtension()
user.getFirstName()
user.getLastName()
 
But I have been unable to locate one for the AgentId (both numeric and text). Do they exist?
 

Forget about the numeric one....just realized it is getId(). But I would still prefer the text agent login.

You might be able to get it from, finesse.gadget.Config.id



From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Wednesday, February 08, 2012 5:14 PM
To: cdicuser@developer.cisco.com
Subject: New Message from Kevin Pickard in 2385312 - General Questions: AgentId from user object



Kevin Pickard has created a new message in the forum "General Questions":

--------------------------------------------------------------
Is there any method for getting the AgentId off the user object?

I know the following exist.

user.getExtension()
user.getFirstName()
user.getLastName()

But I have been unable to locate one for the AgentId (both numeric and text). Do they exist?

--
To respond to this post, please click the following link:

<http://developer.cisco.com/web/finesse/forums/-/message_boards/view_message/5120566>

or simply reply to this email.

The following works for me:

var userData = user.getData();

var loginId = userData['loginId'];
var loginName = userData['loginName'];
var extension = userData['extension'];

In the same way can I get the Agent's IP phone Number & Callers Phone Number?

The Dialog object has all participants media addresses.

Is it possible that a gadget retrieves participants information, and then send this information to another gadget for further manipulation?

Yes you can communicate between gadgdets. See the SampleGadget_Hubtopic in the Sample gadgets on the Documentation page of the Finesse CDN Dev Center here
http://developer.cisco.com/web/finesse/documentation

Collateral


No files available