Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Josh_Good
Employee
Employee

Passing Parameters in a URL and Document Chaining

This videos describes how to pass parameters in a URL and how to leverage this techinque to chain documents when using AJAX.

The genral syntax is as follows:

http://myserver//QvAJAXZfc/opendoc.htm?document=DocumentName.qvw&host=Local&select=LB01,Value

It is also possible to us a similar technique to go directly to a specific sheet within a document using the sheet parameter.

e.g. http://myserver//QvAJAXZfc/opendoc.htm?document=DocumentName.qvw&host=Local&sheet=SH01

http://youtu.be/ESSvm_xMTlE

100 Replies
Not applicable

Not applicable

Not applicable

So has it been confirmed you cannot do a select for a Multi Box?

Seems like when I first started researching this I found a QV document that outlined this feature, but I can't for the life of me find it online anymore. Maybe I was dreaming but it seems like this would be something it would be nice to have an official guide for.

kamakshisuram
Creator
Creator

Hi ,

I have a question, can we pass 'ALL' as Parameter to one list box in Document chaining?

I tried but it is not working. I have one report where when user can select Select all in the list box, ALL is passing to URL.

But the URL dashboard link is not selecting ALL

http:/qlikviewlocahost/notoolbar_and_close.htm?document=GIS/ITGRC/Archer_DrillThrough.qvw&host=QVS@qlikviewlocahost&sheet=SH01&select=LB86,ALL&select=LB85,&select=LB105,&select=LB68,QA Review

Please help me how to handle this situation.?

ChristofSchwarz
Partner Ambassador
Partner Ambassador

Yes you can ...&select=listboxid, (*)

Von Samsung Mobile gesendet

tresesco
MVP
MVP

'ALL' would not possibly be considered as a keyword to mean 'all values' unless you have a table something like:

YourField  ALLfield

Value1, ALL

Value2, ALL

...

Valuen, ALL

Hope this makes sense.

kamakshisuram
Creator
Creator

Hi Christ,

&select=listboxid, (*) is not working for my case. Some how i fixed this by writing if condition, When Region='ALL',- else Region.


I have another question again. I have a variable v_region and I created trigger for Region like on Select

set v_region =GeFieldSelection(Region)


But this Trigger working fine till I selection 6 multiple Regions. When I select 7th Region it is giving result as 7 of 64.


Please provide me your inputs in this case


Note: 64 is total number of Regions

tresesco
MVP
MVP

Third parameter of GetFieldSelection() is for MaxValue which you can define, like:

GeFieldSelection(Region, ',', 100)                   // by default it is six, hence you see the behavior

kamakshisuram
Creator
Creator

Thank you so much. This works as expected.

Anonymous
Not applicable

Hi

cant seem to select more than 1 LB whats the syntax ?