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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get parameters from URL?

Hi,

I use this url to open IE plugin:

https://<server_name>/QvPlugin/opendoc.htm?document=<document_path>&ticket=<ticket>&userid=someText

I want to get the value for parameter 'userid' . I tried to get it using the system function QVuser() and not working, so now I want to get the value running a macro after OnOpen trigger is fired:

This is my script:

sub showUser

     varUser = ActiveDocument.Variables("userid").GetContent.string

end sub

varUser and userid are already defined as variables in the .qvw document, but after the macro is run the varUser string is still empty. What am I missing?

Thanks!

1 Reply
Not applicable
Author

Any help please?