cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1027
Views
4
Helpful
4
Replies

How to publish to a pub sub node in Finesse

yudhitanaka
Level 1
Level 1

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

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/docs/finesse/#!sample-gadgets

https://github.com/CiscoDevNet/finesse-sample-code/tree/master/HubTopicSampleGadget 

 

 

 

Cheers,

 

g.

View solution in original post

4 Replies 4

ewindgat
Level 5
Level 5

Hi,

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

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

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/docs/finesse/#!sample-gadgets

https://github.com/CiscoDevNet/finesse-sample-code/tree/master/HubTopicSampleGadget 

 

 

 

Cheers,

 

g.

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

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: