Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: Kevin Pickard on 18-10-2011 10:47:42 AM Hello all. I am starting to get a feel (conceptually) for the power and functionality available to gadgets within the Finesse "ecosystem". It looks exciting. I am just trying to wrap my head around basic gadget structure. Is there a gadget "shell" that would demonstrate the minimal basic layout required for a gadget living within the Finesse Desktop? One that shows the basic built-in Finesse "includes" needed to properly process events. For example a minimal gadget (properly structured) that subscribes to the finesse.info.connection topic (to be notified of the status of the BOSH connection) and that subscribes to status events for a particular agent (to be notified of user state changes). The Finesse Web Services Developer Guide talks about subscribing to events by publishing request objects to specific Finesse request topics. But it does not show any sample code for doing this. I am just trying to get an understanding of the basic requirements for interfacing with Finessse and how gadget code needs to be laid out or structured (for ease of coding and maintainability). I have also played with Poster and the XMPP Console in Pidgin to submit Finesse API requests (eg. Agent login) and observe the XMPP stream that results. I have not figured out how to implement this functionality within a simple gadget though. I have looked at the provided CallControl gadget but it is complex enough that I am unable to easily discern the basic structure required. I am finding it hard to determine what basic components are required for the simple gadget I described above. Also is there anything that describes what general "libraries" will be available to gadgets running within the Finesse desktop? For example, there are plenty of javascript modules (both Cisco and third party) being included by the CallControl gadget (eg. util). Are they available for general use? Finally (off topic) is there any way of getting notified by email when someone responds to a post within this forum? Or do I have to keep reviewing my own postings looking for responses? And why does posting to the forum not work within IE8 (I end up having to run Chrome as IE just says Error on page).
Thanks for any help provided.
Subject: RE: Basic Gadget Structure Replied by: Kevin Pickard on 21-10-2011 12:27:04 PM Just thought I would post a follow-up to this.
I have managed to get various types of my own gadgets to run now but I still think it would be good to provide some simple gadget examples with the final product. The CallControl gadget does demonstrate a lot of things (and root access allows us to view it at the moment) but I think it might be helpful to provide simpler single function examples with some comments to help people new to Finesse gadgets get started. That's my thought anyway for what its worth.
In any case I still need answers to a couple of the items in this posting. So I thought I would elaborate a bit in case I did not describe my question clearly enough.
I still would like to know what "libraries" (for lack of a better term) we as gadget writers will have available. In particular, what access will we have to the Finesse support "code" as our gadgets will have to live off box and we will not have root access in the final version? For example the Finesse utilities, base, client services and rest services all live on the finesse box. But as our gadgets will be off-box will these all be bundled so that they can be made available to us as well? Or are we able to simply remotely access them using URIs? Will they depend on things that we do not have access to? Also the various third-party pieces that are available on the Finesse box directly (eg. Dojo, Jquery). Has Cisco extended these in any way or are they as provided online? Are we restricted to particular versions?
The other question I still have relates to the non-Finesse question I asked in my posting about getting email alerts when a posting is responded to. I have tried the Subscribe function in the forum but that does not seem to work as I expected (ie. I do not get any email notifications).
Thanks.
Subject: RE: Basic Gadget Structure Replied by: David Lender on 21-10-2011 03:24:03 PM
Finally (off topic) is there any way of getting notified by email when someone responds to a post within this forum? Or do I have to keep reviewing my own postings looking for responses? And why does posting to the forum not work within IE8 (I end up having to run Chrome as IE just says Error on page).
.
I cant speak to IE8 but I do know there is a problem with Forum subscriptions that is currently being investigated.
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: