Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
jarrad_murray
Contributor III
Contributor III

Passing variables via URL

Hi All,

I am trying to set up an application that opens an existing dashboard to a specific page based on user selections.  the pages are all hidden and made visible via a variable.

The URL I am using is http://*********/QvAJAXZfc/opendoc.htm?document=ACE%20Dashboard.qvw&host=QVS%40srapp55&Sheet=SH03&v_...

The variable part is the v_ShowSheet=page%201

Am I doing something wrong to assign the variable a value to enable the sheet to be visible or am I trying something that just wont work?

Many thanks

4 Replies
agigliotti
Partner - Champion
Partner - Champion

I guess you can't assign a value to a variable as URL parameter but only values to fields.

jarrad_murray
Contributor III
Contributor III
Author

Ah.  That would put a spanner in my works.

agigliotti
Partner - Champion
Partner - Champion

you should use the GetFieldSelections(fieldName) function to set your variable value.

Brett_Bleess
Former Employee
Former Employee

Jarrad, found the following post after a bit of searching, believe variables are not possible....

https://community.qlik.com/t5/Qlik-Design-Blog/AJAX-and-URL-parameters/ba-p/1470351

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.