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 913)):
[ 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 37).
/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