Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

QlikView Desktop client command line

I've looked in the Help, the reference manual and on forums. There are some examples of command line switches (/r etc), but I cannot find a complete reference guide to all switches. (I'd like one that forces an Open-In-Server.)

Can anyone point me at such a guide?

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hello Ted,

To open a document from QlikView Desktop on the server use the following syntax

C:\Program Files\QlikView\qv.exe qvp://domain\user@servername/Document.qvw


The bold part is optional, and it will ask you for password, so it won't work unattendedly.

Hope this makes sense.

View solution in original post

7 Replies
Miguel_Angel_Baeyens

Hello Ted,

Take a look at this post by Tim Benoit. So far is the most comprehensive guide I've found.

Hope that helps.

Not applicable
Author

Thanks Miguel. I have seen this. Do you know if this is the complete list?

/r

Reload, save, close.

/rp

Partial-Reload, save, close.

/l

Reload, leave open.

/p

Partial-Reload, leave open.

/v

Pass variable.



Miguel_Angel_Baeyens

Hello Ted,

Actually I've seen that Reference Manual contains a section for qv.exe parameters (pp. 49 onwards on QV 9SR6 manual), and the following are added:

/lp - partial reload, leave open (instead of /p)

/nodata - open document without data (all objects and script and macros, no records)

/nosecurity - ignores document macro security settings

So far, this seems to be the complete documented list.

Regards.

Not applicable
Author

Hi Ted

did you find a way to open in server from the command line ?

regards

Ian

Not applicable
Author

No, sorry. Here is the complete list (of switches) from the manual:

6 STARTING QLIKVIEW
Start QlikView from the Start menu, Programs or double-clicking on a
QlikView document.
If you wish to start QlikView from the command line, you can use the parameters
described in the following section.
6.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 page 523 in Book III):
[ 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 your 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, see page 51.
50
/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 page 352)

Miguel_Angel_Baeyens

Hello Ted,

To open a document from QlikView Desktop on the server use the following syntax

C:\Program Files\QlikView\qv.exe qvp://domain\user@servername/Document.qvw


The bold part is optional, and it will ask you for password, so it won't work unattendedly.

Hope this makes sense.

Not applicable
Author

Thanks Miguel. It took me a minute to get the syntax correct... but it works fine.

Ian, here's your answer.