10-08-2015 07:24 AM
Hello, we are missing authorization information coming from gadget prefs. Finesse Web Services Guide (for finesse 11) states following.
Required Module pref Features:
• <Requirefeature="pubsub-2"/>: This feature is required for the gadget to load in the OpenAjaxHub.
• <Requirefeature="setprefs"/>: This feature is required for the Finesse JavaScript library to set the agent authorization string in the gadget prefs.
In finesse 11 we are not able to get the authorization from gadget prefs. Is it by design or some kind of issue in the new finesse version?
Following code returns empty string:
var prefs = new gadgets.Prefs();
prefs.getString('authorization');
we have enabled the feature "setprefs" in our gadget.xml.
Solved! Go to Solution.
10-15-2015 09:13 AM
The gadgets.Prefs is not designed for use of critical application data. Could you explain what is being stored in the 'authorization' preference?
Also, are you able to save and retrieve other preferences?
10-09-2015 02:50 PM
Could I just verify, this worked in a previous version of Finesse? And, what version was that?
10-14-2015 01:44 AM
It worked in finesse 10.5 and lower versions.
10-15-2015 09:13 AM
The gadgets.Prefs is not designed for use of critical application data. Could you explain what is being stored in the 'authorization' preference?
Also, are you able to save and retrieve other preferences?
10-16-2015 06:03 AM
The finesse javascript library stores there the agent authorization string. We are using it to authenticate against our services.
10-16-2015 10:24 AM
Okay, to help me look into this, could you send me a sample of what the authorization string looks like. And, please remove any sensitive information.
Thank you
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