Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
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