07-01-2016 09:26 AM - last edited on 03-05-2021 11:07 AM by dekwan
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
Solved! Go to Solution.
07-02-2016 11:04 PM
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
07-02-2016 11:04 PM
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
07-05-2016 08:21 AM
Many thanks, Denise!!!!!
07-05-2016 11:15 AM
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
07-05-2016 11:30 AM
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
07-21-2016 12:40 PM
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.
07-22-2016 01:41 PM
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
03-05-2021 01:11 PM
03-05-2021 01:46 PM
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
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