Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

avastani
Not applicable

CommandLine is empty

I am trying to run an External Program (i.e, run a macro in the qvw) from Publisher as an EDX Triggered based on completion of a reload task.

Could someone please help with the .bat file to be created and what to use in the command line in publisher? I have the following in the .bat file which works from command prompt but not from Publisher

"C:\Program Files\Qlikview\QV.exe" /r /vsendReport "C:\Users\Documents\test.qvw"

i put this in the .bat file as the only line and in the Publisher External task I put

"C:\Program Data\QlikView\myfile.bat"

I run the job and I get error that the CommandLine is empty. Please help if you have encountered or know a way around it. Thanks.

1 Solution

Accepted Solutions
avastani
Not applicable

CommandLine is empty

that wouldn't work. the problem is with incorrect syntax in the commandline execution of qv.exe. cannot use /v to run a macro. removed it and it worked.

2 Replies
Not applicable

CommandLine is empty

Move your .bat in a path wihout spaces (Es: c:\QlikView\myfile.bat) or try to use the next syntax

cmd.exe /c C:\"Program Data"\QlikView\myfile.bat

bye

avastani
Not applicable

CommandLine is empty

that wouldn't work. the problem is with incorrect syntax in the commandline execution of qv.exe. cannot use /v to run a macro. removed it and it worked.