Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
Partner
Partner

Re: Passing Parameters in a URL and Document Chaining

Josh,

It is working now. But I want to stop displaying all values of product in URL.

Say for example

Select=LB01,A1,A2,A3,A4,A5,,,,,,,,,,,,,,,,A100

Is it possible?

Thanks,

jagan

Employee
Employee

Re: Passing Parameters in a URL and Document Chaining

Hi Jagan,

Can you please share how you resolve the issue so if someone else has the same problem they will know what to do.

If do not want to show the list then you could activate a bookmark in the target document.  This will make your selection set fix thought.  Your other option would be to use the Open Document action and transfer the state. The details on both of these is covered above.

Regards,

Josh

Not applicable

Re: Passing Parameters in a URL and Document Chaining

Hi Josh,

Do u know how to show the parameters DIRECTLY on Url ? Because I need to catch the parameters  via url to do another program.

For example, when I  select productID='AA01' in a listbox, then the url could show  http://myserver//QvAJAXZfc/opendoc.htm?document=DocumentName.qvw&host=Local&select=LB01,"AA01"

Furthermore, If I could select many parameters(ex,productid,year,month,....) and ALL show on URL is better!!

Could it possible? please help!

Thanks a lot

Regards,

Nina

Employee
Employee

Re: Passing Parameters in a URL and Document Chaining

Hi Nina,

As far as I know it is not possible to have the URL change as selections are made in the app.

-Josh

Not applicable

Re: Passing Parameters in a URL and Document Chaining

Hi, How did you fix the problem with the selection? I have a URL that has product_id where product_id is a number. If I do select=LB18,1 I'm getting all products that have a 1 (1, 10, 11, 110, etc.)

Any ideas?

Employee
Employee

Re: Passing Parameters in a URL and Document Chaining

You need to use this style of notation (value|value). So you your case it would be:

select=LB18,(1)

or

select=LB18,(1|15|35) would select 1, 15, 35 only.

Not applicable

Re: Passing Parameters in a URL and Document Chaining

Thanks Josh!!!

Employee
Employee

Re: Passing Parameters in a URL and Document Chaining

Hi Josh. Cool explanation. Can you also pass a variable value in the querystring?

Together with QV11.2 SR4 the surprising behaviour of the "select=LBxx" has changed a bit. There shouldn't be multiple selections any more. The best syntax I have seen and tested so far is the one mentioned by you:

select=LBxx,(value1|value2|valuex)

Only a few things to mention: if the value in this list contains a space or a comma, you have to replace it with '?'. Sideeffect: This syntax allows to pass also '*' wildcards, for example

select=LBxx,(*)  will select all

select=LBxx,(Josh*)  will select all starting with Josh

select=LBxx,(*Good*|*Bad*)  will select containing either Good or Bad

isn't this cool? I have created a URL composer which should make it easier for mortals to compute a valid querystring here: URL Composer = compute an Access-Point link and pass selection values, open sheets etc.

Partner
Partner

Re: Passing Parameters in a URL and Document Chaining

Wow! Great tips. I'm looking for this a year ago.

Employee
Employee

Re: Passing Parameters in a URL and Document Chaining

Thanks for the additional info Christof.