cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
589
Views
2
Helpful
6
Replies
Highlighted
Beginner

Finesse 10.6(1) gadgets

Hello,

I'm new to Finesse 10.6(1) gadgets. Went to developer.cisco.com/site/finesse/archive 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

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Finesse 10.6(1) gadgets

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

6 REPLIES 6
Cisco Employee

Re: Finesse 10.6(1) gadgets

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

Beginner

Re: Finesse 10.6(1) gadgets

Many thanks, Denise!!!!!

Beginner

Re: Finesse 10.6(1) gadgets

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

Cisco Employee

Re: Finesse 10.6(1) gadgets

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

Beginner

Re: Finesse 10.6(1) gadgets

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.

Cisco Employee

Re: Finesse 10.6(1) gadgets

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

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards