JavaScript Library and Sample Gadgets
Finesse provides a JavaScript library (finesse.min.js) and several sample gadgets to help jump-start your gadget development. The JavaScript library provides a substantial amount of fundamental code infrastructure that you would otherwise must write yourself.
The Cisco Finesse JavaScript library is dependent on the jQuery library, which needs to be manually imported in the gadget code. Starting Finesse 12.6(1), the hosted jQuery version has been upgraded to 3.5.1. Gadgets that use jQuery directly should evaluate if there are any impacts due to the upgrade. The jQuery Migrate development tool can help resolve any upgrade issues. For more information about the jQuery Migrate development tool, see https://github.com/jquery/jquery-migrate/.
You can access the JavaScript library at the following URL: https://<FQDN>:<port>/desktop/assets/js/finesse.min.js
NoteThe unminified version of finesse.min.js can be accessed from the URL: https://<FQDN>:<port>/desktop/assets/js/finesse.js
-
For JavaScript API documentation, refer to the Cisco Finesse JavaScript APIs chapter.
You can access JQuery at the following URL: https://<FQDN>:<port>/desktop/assets/js/jquery.min.js.
If you have third-party gadgets that are loaded on Finesse, the third-party gadgets can access the JavaScript library at: /desktop/assets/js/finesse.min.js.
The sample gadgets are available from Cisco DevNet at the following link: https://developer.cisco.com/site/finesse/.
Note | For the proper functioning of the JavaScript library, you must import both the Finesse JavaScript library and JQuery. |