Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
erichuang
Contributor III
Contributor III

How to pass some custom parameters through url

All,

In order to do some controls in reports, I need to pass some custom parameters through url, such as "http://server/QvAJAXZfc/Authenticate.aspx?type=html&webticket=XXXXXXXX&try=/QvAJAXZfc/opendoc.htm?do...",

and my variables are vUserId and vFlag. I have try some ways and steps are as followings:

(1)Create variables(vUserId and vFlag) in documents

(2)Use VB script to get those variables:

   sub whenopen()

     set x = ActiveDocument.GetVariable("vUserId")

     msgbox x.GetContent().String

     set y = ActiveDocument.GetVariable("vFlag")

     msgbox y.GetContent().String

   end sub

(3)create an onOpen Trigger with whenopen()

After setting those steps, I still can't pass variables to reports in IE or Chrome. Is there any miss in my steps?

1 Reply
marcus_sommer

I believe that a transfer of variable-values per url isn't supported. Maybe you could replace the variables with native fields which selections could be transferred.

- Marcus