cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2549
Views
7
Helpful
8
Replies

Finesse 10.6(1) gadgets

paulo.silva.c
Level 1
Level 1

Hello,

 

I'm new to Finesse 10.6(1) gadgets. Went to developer.cisco.com/site/finesse and downloaded the LearninSampleGadget-10.6.1; the accompanying pdf makes reference to finesse.js and jqury-1.5.min.js being included in the download, but they are nowhere to be found.

 

As a matter of fact i can't get any of the 10.6.1 sample gadgets to work.

 

Any help/pointers/thoughts appreciated!!!

 

Thanks in advance,

 

Paulo Silva

1 Accepted Solution

Accepted Solutions

dekwan
Cisco Employee
Cisco Employee

Hi,

Looks like the pdf was not updated for the small change in 10.6. Starting Finesse 10.6, the Finesse JavaScript Library (finesse.js) and the jQuery Library (jQuery*.min.js) are hosted on the Finesse server itself. The files can be found under: http(s)://<FQDN>:<port>/desktop/assets/js/finesse.js & http(s)://<FQDN>:<port>/desktop/assets/js/jquery.min.js.

The SampleGadget.xml file already references these files directly:

<!-- jQuery -->

            <script type="text/javascript" src="/desktop/assets/js/jquery.min.js"></script>

          

            <!-- Finesse Library -->

            <script type="text/javascript" src="/desktop/assets/js/finesse.js"></script>

You mention that you cannot get any of the 10.6.1 gadgets to work. If you are hosting the gadgets on a separate web server (versus using the 3rdpartygadget account on the Finesse server), you will need to modify the xml to reference these files with the absolute URLs. All of the sample gadgets assume that you will be hosting the gadget on the Finesse server so it uses the relative URL.

Thanx,

Denise

View solution in original post

8 Replies 8

dekwan
Cisco Employee
Cisco Employee

Hi,

Looks like the pdf was not updated for the small change in 10.6. Starting Finesse 10.6, the Finesse JavaScript Library (finesse.js) and the jQuery Library (jQuery*.min.js) are hosted on the Finesse server itself. The files can be found under: http(s)://<FQDN>:<port>/desktop/assets/js/finesse.js & http(s)://<FQDN>:<port>/desktop/assets/js/jquery.min.js.

The SampleGadget.xml file already references these files directly:

<!-- jQuery -->

            <script type="text/javascript" src="/desktop/assets/js/jquery.min.js"></script>

          

            <!-- Finesse Library -->

            <script type="text/javascript" src="/desktop/assets/js/finesse.js"></script>

You mention that you cannot get any of the 10.6.1 gadgets to work. If you are hosting the gadgets on a separate web server (versus using the 3rdpartygadget account on the Finesse server), you will need to modify the xml to reference these files with the absolute URLs. All of the sample gadgets assume that you will be hosting the gadget on the Finesse server so it uses the relative URL.

Thanx,

Denise

Many thanks, Denise!!!!!

paulo.silva.c
Level 1
Level 1

I'm hosting my gadgat on a third party web server.

Any idea why, any change to my code takes a few minutes to by seen in Finesse?

Thanks in advance!

Paulo Silva

Hi,

Caching. The pros of gadgets is the fact that they are highly cachable so that they don't need a high performance server, but it is very difficult for developers. I use a little trick via Firefox and Firebug to avoid this issue. Take a look at the last post of this thread: How to Determine Which Browsers are in Use?

Thanx,

Denise

Mark Verwey
Level 1
Level 1

You mention that the Finesse JavaScript library and jQuery library are hosted on the Finesse itself.  If I'm trying to load the gadgets to the thirrdparty/gadgets account on the Finesse server, do I need to update these library files and if so, where do I load them?  I am running UCCX 10.6(1) and having the same issues as Paulo Silva with the gadgets not working.

Hi,

If you are putting the gadgets to the thirdparty account on the Finesse server, you do not need to modify the sample gadget. Are you sure you are using the 10.6 sample gadgets from the archive section: https://developer.cisco.com/site/finesse/archive/ Make sure you are using a 10.6 sample gadget.

Thanx,

Denise

Mark Verwey
Level 1
Level 1
I’ll do what I can to offer any help. Which one or what are you trying to do with it. I may have the files I’ll have to check when I get home. I’ll let you know if I have those files.

Hi,

 

Sorry. I was updating old posts to fix broken links and it triggered a notification (there was no way to turn it off).

 

Thanx,

Denise

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: