Can we add parameters in the Connection Pseudo-URL?
A. I want to open "Sales Compass" and run the FitNormal_AllSheets macro.
Yes, absolutely!
You can pass "macro" parameter in the Connection Pseudo-URL like this example.
A. This means open "Sales Compass" and run the macro "FitNormal_AllSheets"
qvp://localhost/Sales%20Compass.qvw?macro=FitNormal_AllSheets
When connecting to QlikView Server from Windows clients, either via the Open in Server dialog or via
link files, the identity to be used is specified via the pseudo-URL document address.
The syntax is:
qvp://[[username]@]servername [:(port | protocol)] /
[documentname.qvw][?paramname=paramvalue{¶mname=paramvalue}]
where
username is a Windows user ID
servername is the name of a server running QlikView Server
documentname is the name of the QlikView document (excluding qvw extension)
port (e.g. 4749) can be used to specify a specific port used by the server
protocol (e.g. http) can be used to specify tunneling protocol
paramname := (USERID | XUSERID | PASSWORD | XPASSWORD | MACRO |
IIS_AUTHENTICATE )
USERID denotes a section access userID in clear text
XUSERID denotes a scrambled section access userID
PASSWORD denotes a section access password in clear text
XPASSWORD denotes a scrambled section access password
MACRO denotes the name of a macro to be run when the document is opened (only one macro allowed)
IIS_AUTHENTICATE denotes a single-use key (40 hex characters) for IIS integrated authentication.