Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to Reload qvw through any command line in windows

Hi,

I Would like to reload the qvw with any command line argument in my windows machine instead of going into Qlikview app and doing reload(ctrl+R) or clicking reload button on QMC.

Appreciate the quick and effective responce.Thanks!.

Regards,

Mahi..

1 Solution

Accepted Solutions
Not applicable
Author

Finally I found solution for my query, we can reload and save Qlikview (qvw) file with in command line prompt as below,

1) Create one batch file with below information and save the file with .bat extension

Ex1: for reload and save the Qvw

"C:\Program Files\QlikView\qv.exe" /r D:\QlikDocs\QlikAccessPoint\Sentry 5.0 reports.qvw

Ex2: for reload and save the Qvw along with running the Nprinting(.NQS) report/Job in a single batch file


"C:\Program Files\QlikView\qv.exe" /r D:\QlikDocs\QlikAccessPoint\Sentry 5.0 reports.qvw

"C:\Program Files (x86)\NPrinting\Client\NPrinting.exe" /NprintingFile "D:\Nprinting\Nprinting Files\Sentry_Report.nsq" /Job "Cash And Accrual job"

"C:\Program Files (x86)\NPrinting\Client\NPrinting.exe" /NprintingFile "D:\Nprinting\Nprinting Files\Sentry_Report.nsq" /Job "EOD Collateral Summary Job"

2) double click on the batch file to execute.

Thanks,

Mahesh

View solution in original post

2 Replies
oknotsen
Master III
Master III

First make sure command line reloading is enabled.

To do so, edit your "QlikViewDestributionService.exe.config" and make sure this statement is set to true:

<add key="EnableBatchMode" value="true"/>

By default that thing is set to "false".

Now go find the command line program used for reloading and check out its options:

QVDestributionService.exe

You will this in the Destribution Service folder.

May you live in interesting times!
Not applicable
Author

Finally I found solution for my query, we can reload and save Qlikview (qvw) file with in command line prompt as below,

1) Create one batch file with below information and save the file with .bat extension

Ex1: for reload and save the Qvw

"C:\Program Files\QlikView\qv.exe" /r D:\QlikDocs\QlikAccessPoint\Sentry 5.0 reports.qvw

Ex2: for reload and save the Qvw along with running the Nprinting(.NQS) report/Job in a single batch file


"C:\Program Files\QlikView\qv.exe" /r D:\QlikDocs\QlikAccessPoint\Sentry 5.0 reports.qvw

"C:\Program Files (x86)\NPrinting\Client\NPrinting.exe" /NprintingFile "D:\Nprinting\Nprinting Files\Sentry_Report.nsq" /Job "Cash And Accrual job"

"C:\Program Files (x86)\NPrinting\Client\NPrinting.exe" /NprintingFile "D:\Nprinting\Nprinting Files\Sentry_Report.nsq" /Job "EOD Collateral Summary Job"

2) double click on the batch file to execute.

Thanks,

Mahesh