AnsweredAssumed Answered

Missing authorization in gadget prefs (finesse 11)

Question asked by backa.peter@googlemail.com on Oct 8, 2015
Latest reply on Oct 16, 2015 by ewindgat

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.

Outcomes