Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to transfer parameters in url? I use opendoc.htm to open a ajax client. I can transfer userid and password. But I wanna transfer another parameters from url. Thanks.
... /opendoc.htm?document=temp.qvw¶=12345 I use this to open a ajax web page. Now I want to transfer a parameter to qvw files but not userid and password. Who can tell me how to do this ? Thank you very much.
Hi,
Have a look at the the attached document, which have details about how to pass selection parameter to an url and in what manner.
Regards,
Kaushik Solanki
hi, Thank you for your reply. What I want to transfer is not the selection parameter but a normal prameter. Can it be transfered in url? Thanks again.
Hi,
What normal parameter you want and what will be the effect of that parameter on the document.
Regards,
Kaushik Solanki
Hi, What I wanna is a date range. I want to transfer 2 parameters, one is begin date the other is end date. And I use these 2 parameters as a range which is used in set-analysis in a chart.
Hi,
I think you can set the variable value from url.
but dont know how,
Have a look at the below post.
http://community.qlik.com/thread/19767
Regards,
Kaushik Solanki
HI, I read your reference post. But it seems that it can't pass a parameter in ajax. And I dont' want to use bookmark in my application. Can you give me some further advice? Thanks.
You can add a line to the opendoc.html file
var d1 = Qva.ExtractProperty("param1", null);
var d2 = Qva.ExtractProperty("param2", null);
call opendoc.htm?param1=20110713¶m2=20110720
This is the ajax method for getting its own parameters like document and object. I have used in with QV10 and if I understand you correctly this maybe what you want?
Andy
Hi, andy Thank you for your reply. I want to use your method. Could I have to add a parameter in QVW?