cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
512
Views
4
Helpful
4
Replies
Highlighted
Beginner

How to publish to a pub sub node in Finesse

Hi,

I want to publish some text messages to a pub sub node(existing node or new node - if possible) in Finesse from a gadget. 

Does anybody has done this before? Can I get an example how to implement this?

Thanks in advance!

Best Regards,

Yudhi

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

I am certain he is talking about OpenAjax Pub Sub. In such case, there is already a Sample Gadget that demonstrates how to do this:

https://developer.cisco.com/site/finesse/downloads/sample-gadgets/

https://developer.cisco.com/fileMedia/download/e2a5db17-c376-4bc0-8f77-8639c4cf2540

Cheers,

g.

View solution in original post

4 REPLIES 4
Highlighted
Contributor

Hi,

When you say node, do you mean an HTML element in your gadget? And, will this element be added dynamically, meaning from JavaScript.

Highlighted

Hi,

Thanks for your response.

The node that I mean is node in Cisco Finesse Notification Service. What I want to achieve is to put/publish some data(text) to the existing node in Cisco Finesse Notification Service from gadget.

For example, in Team notification node (/finesse/api/Team/{team_id}/Users), is it possible to publish data to that team node, so every agent that subscribed to that particular team node will be able to retrieve the data.

Thanks in advance!

Best Regards,

Yudhi

Highlighted

I am certain he is talking about OpenAjax Pub Sub. In such case, there is already a Sample Gadget that demonstrates how to do this:

https://developer.cisco.com/site/finesse/downloads/sample-gadgets/

https://developer.cisco.com/fileMedia/download/e2a5db17-c376-4bc0-8f77-8639c4cf2540

Cheers,

g.

View solution in original post

Highlighted

Hi Gary,

Thanks for your response.

I've checked out the sample gadget (Hub topic gadget). It seems like the data(text) that is being published, can only be retrieved by subscribed gadget within same Finesse desktop (same agent).

Is it possible, for example, to publish data(text) from supervisor's gadget and retrieved the data(text) from agent's gadget?

Thanks in advance!

Best Regards,

Yudhi