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: 
chriscammers
Partner Ambassador
Partner Ambassador

Opening Document on Server by URL: How to pass a parameter?

I'm working with QVS 9 running the default Qlikview web services.(Not IIS)

I would like to open a QVW using a url but I want to pass a parameter from the URL to a variable in the document. Later I will use the value of this variable to make a selection but for now I'm happy just to show it on the screen.

I've tried adding a parameter to the link used by the Access point to open the document but this is not working. The document opens but the parameter does not seem to be applied.

http://myserver/QvAJAXZfc/AccessPoint.aspx?open=&id=QVS@myserver|mydoc.qvw&client=Ajax&UserParam=123

Am I approaching this the right way or should I be trying something else??

Thanks

21 Replies
Not applicable

Hi,

I was able to do it, but when the server reloads de document then it loses de filter.

Does anyone know i can i fix that?

Thanks!

zippo_btl
Contributor II
Contributor II

Hi, as i know passing variable is not possible. But there are some workarounds:

1. Using OsUser function in qvw app, QV can understand what user is logged in and can show different charts to a user depending on his role.

2. You can link variable in your app to some field. You can load some data island specially for ur variable with all possible values. Then u pass selection on this variable in URL. And finally field trigger sets variable value depending on the selection.

I haven't tried these options yet, but i think they would work.