11-27-2014 09:22 PM
Hello
In finesse 9.1.1 we access agent's info using JavaScript library i.e. finesse.js, as follows:
And the dialog info as follows:
Does any of the above methods have been changed or removed from the javascript library of finesse 10.x, or they still exist and
can be consumed in the same way as mentioned above?
Solved! Go to Solution.
11-28-2014 10:33 AM
Hey Absaar,
We try our very best to ensure our Finesse JS Library is backwards compatible with the previous release. That means we generally never change/remove methods from one release to the next, only add new stuff. There have been some exceptions in the past, but they have been very rare (and we make sure the old method works without breaking anything). Looking at the items you list above, I am 99.9999% sure that none of these changed in any way.
That being said, we *definitely* change the internal implementation of the finesse.js. Which means you have to make absolutely sure that you are using the version of finesse.js that goes with the Finesse Server you are connecting to. This means if you are someone who develops Gadgets for various versions of Finesse, you need to package the right version of the library with your Gadgets.
We realize that is tedious, so something that is coming with 10.6/11.0 of Finesse we have moved the finesse.js (and it's related jquery.min.js) to a well-known location within the Finesse Server. This will allow you to simply relatively reference /finesse/desktop/assets/js/finesse.js and /finesse/desktop/assets/js/jquery.min.js (when hosting your Gadgets inside the Finesse Server) and you will load the Finesse JS Library directly compatible with Finesse Server being loaded from.
Hope this helps,
g.
11-28-2014 10:33 AM
Hey Absaar,
We try our very best to ensure our Finesse JS Library is backwards compatible with the previous release. That means we generally never change/remove methods from one release to the next, only add new stuff. There have been some exceptions in the past, but they have been very rare (and we make sure the old method works without breaking anything). Looking at the items you list above, I am 99.9999% sure that none of these changed in any way.
That being said, we *definitely* change the internal implementation of the finesse.js. Which means you have to make absolutely sure that you are using the version of finesse.js that goes with the Finesse Server you are connecting to. This means if you are someone who develops Gadgets for various versions of Finesse, you need to package the right version of the library with your Gadgets.
We realize that is tedious, so something that is coming with 10.6/11.0 of Finesse we have moved the finesse.js (and it's related jquery.min.js) to a well-known location within the Finesse Server. This will allow you to simply relatively reference /finesse/desktop/assets/js/finesse.js and /finesse/desktop/assets/js/jquery.min.js (when hosting your Gadgets inside the Finesse Server) and you will load the Finesse JS Library directly compatible with Finesse Server being loaded from.
Hope this helps,
g.
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