Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

How to transfer parameter in url? I use opendoc.htm to open a ajax client.

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.

17 Replies
Not applicable

Re: How to transfer parameter in url? I use opendoc.htm to open a ajax client.

... /opendoc.htm?document=temp.qvw&para=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.

Re: How to transfer parameter in url? I use opendoc.htm to open a ajax client.

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

Not applicable

Re: How to transfer parameter in url? I use opendoc.htm to open a ajax client.

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.

Re: How to transfer parameter in url? I use opendoc.htm to open a ajax client.

Hi,

   What normal parameter you want and what will be the effect of that parameter on the document.

Regards,

Kaushik Solanki

Not applicable

Re: How to transfer parameter in url? I use opendoc.htm to open a ajax client.

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.

Re: How to transfer parameter in url? I use opendoc.htm to open a ajax client.

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

Not applicable

Re: How to transfer parameter in url? I use opendoc.htm to open a ajax client.

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.

Not applicable

How to transfer parameter in url? I use opendoc.htm to open a ajax client.

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&param2=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

Not applicable

Re: How to transfer parameter in url? I use opendoc.htm to open a ajax client.

Hi, andy Thank you for your reply. I want to use your method. Could I have to add a parameter in QVW?