04-08-2015 05:54 PM
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
Solved! Go to Solution.
04-10-2015 08:27 PM - last edited on 03-05-2021 10:05 AM by dekwan
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.
04-10-2015 10:31 AM
Hi,
When you say node, do you mean an HTML element in your gadget? And, will this element be added dynamically, meaning from JavaScript.
04-10-2015 12:17 PM
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
04-10-2015 08:27 PM - last edited on 03-05-2021 10:05 AM by dekwan
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.
04-15-2015 11:11 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide