Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
uroboros
Creator
Creator

How can I run a macro on QMC after reload?

This is my question, I need run one macro on server QMC after reload; somebody can help me please, with one example is enough
many thanks.

5 Replies
Magnus_Berg
Employee
Employee

Hi Miguel, the publisher can not execute macros, the reload engine does not have that capability. you need to run qv.exe (QlikView developer) silently in a batch script.

Regards

Magnus

marcus_sommer

In addition to mbg you could trigger such batch per EXECUTE statement within a qvw which will be triggered from a QMC task, see here an example: Re: QVW to create bat file which contain the copy command for all the QVD's used in the QVW. Help on...

- Marcus

uroboros
Creator
Creator
Author

Maybe I have to, but I would like to exhaust all options , look for depth. What do you think about that QV developer is on the server, it would not be a bad practice ?
Thanks for your help.

uroboros
Creator
Creator
Author

Thanks. It will be the answer.
And I can't use the engine of QMC, to execute the reload of a file .QVW and this form run the macro?

Magnus_Berg
Employee
Employee

If you have a "real" publisher license, there is a "run as a batch" task available that can run the qv.exe in between the ordinary reloads. Hope that this helps.

regards