Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Url parameter with several ajax sheets

Hi,

I'm having a problem with passing language parameter from url -address to qv-ajax pages. My url is like this:

http://127.0.0.1/qvajaxzfc/opendoc.htm?document=qvdoc.qvw&userid=999&password=be844b0dab69a6c2edbab8...

The language parameter is variating (en, se, fi etc)

In the qv -document, (where I have several sheets) I have a language listbox, which should take in the parameter.

So, this works fine in first sheet when i put this code in the C:\Program Files\QlikView\Server\QvClients\QvAjaxZfc\opendoc.htm -document:

function init(key, name) {
var val = Qva.ExtractProperty(key);
if(val) qva.Set(name,'text',val,false);
}

init('language','LB88');

LB88 takes the language in. (I must deselect it first when I save the qv-document)

But, when I change the sheet in ajax document (IE-browser or Firefox), the language selection disappears (clears).

I think there is a place somewhere in the js. script modules where the parameter can be coded stable.

Does anybody have the answer or solution to this problem??

With best regards


-Ilpo-

0 Replies