Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Make your voice heard! Participate in the 2020 Wisdom of Crowds® Survey. BEGIN SURVEY
Highlighted
erichuang
New 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
Highlighted
MVP & Luminary
MVP & Luminary

Re: How to pass some custom parameters through url

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