Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
nishantorion
New Contributor

QlikView Dashboard can be loaded via command line arguments

I want a open and reload a QVW application via command line arguments?

Can anybody have a solution for this? 

2 Replies
buzzy996
Honored Contributor II

Re: QlikView Dashboard can be loaded via command line arguments

yes,u can thy this..

"C:\Program Files\Qlikview10\qv.EXE" /R "T:\path\ur dashboardV1.0.QVW"

check ur qv installation path.

run it

Partner
Partner

Re: QlikView Dashboard can be loaded via command line arguments

Hi Nishant,

this is a quote from the Reference Manual:

7.1 Command Line Syntax
The QlikView command line invocation can be described by the following syntax (for a description of the
syntax notation used, see Backus-Naur Formalism (page 931)):
[ path ]Qv.exe[ { switch } documentfile ]
The path is the path to the file, either absolute, or relative to the current directory.
documentfile::= [ path ] documentfilename
documentfilename is the name of the document file.
switch is used to mark different options:
/r
Reload switch. The document will be opened and the script reloaded. Thereafter the document will be saved,
and QlikView will close itself.
/rp
The same as above, but with a partial reload.
/l
Load new data. The document will be opened and the script reloaded. The document will not be saved and
QlikView will remain open.
/lp
The same as above, but with a partial reload.
/v
If this switch is immediately followed by a variable name and an assignment, the variable will obtain the
assigned value before the script execution starts.
/nodata
Opens the document without variables, table and field data. This feature is also available for previously
opened documents on The Start Page (page 36).
/NoSecurity
Overrides QlikView security measures against hostile macros and scripts embedded in QlikView documents.
No warning dialogs prompting the user to accept potentially harmful code will be shown. Use this switch
with caution and only with well-known documents.
Example:
qv.exe /r/vMyvar=123 abc.qvw
Note!
In order to avoid error messages to appear when executing scripts in batch mode, always set the script variable
errormode to 0 in the script (see Error Variables (page 291))

Hope this helps!!

Andy