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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

macro is not sending CSV file while reloading it through QMC

Hi all,

I m using QV 11.2 sr1. I created a macros to save a file in some folder and also triggered post reload too. If I run that application manually its sending my csv files. But if run the same appication through QMC its not sending my csv file. Anyone have any idea about this.

Thnx

5 Replies
marcus_sommer

Macro-Execution through the server is generally difficult, many macros won't work. First you must enable the macro-execution in the settings from QEMC and second the user with which the server-services runs (is most often a special account) must have apprpriate access-rights to the file-system.

- Marcus

abeyphilip
Creator II
Creator II

Hi,

Faced similar issues with QMC, we got around this by scheduling the reloads from windows task scheduler.

If you are taking that route, you may have to schedule batch job, with script something like this:

CALL "C:\PROGRAM FILES\QLIKVIEW\QV.EXE" /R  "C:\Qlikview\xxx.qvw"

Regards,

Abey

Not applicable
Author

Hi

I guess this may be because of "allow system access"

anyone have any idea how to do this in register editor. my machine is WINDOWS 2008 SR2.

thnx

marcus_sommer

You meant permissions on the windows file-folder? Go to the folder, choose properties / security and give the server-account access-rights. If you are no owner from folder or admin ask your admin.

- Marcus

jerrysvensson
Partner - Specialist II
Partner - Specialist II

Hi

Publisher will not run any Post reload macro.

You will have to create an external program task using the syntax:

"C:\PROGRAM FILES\QLIKVIEW\QV.EXE" /R  "C:\Qlikview\xxx.qvw" that Abey suggested.