Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

Not applicable

Execute Macro with OnPostReload using Publisher.

Hi,

I have an application which runs a macro OnPOstReload event and exports a table into qvd.

This works fine if i use a batch file and schedule it using windows scheduler.

My macro is not getting executed when i use publisher to relaod my application.

Please suggest a solution to this.

Also is it fine to schedule execution of a batch file using tasks in publisher?

Regards,

Utsav

1 Solution

Accepted Solutions
jerrysvensson
Valued Contributor II

Re: Execute Macro with OnPostReload using Publisher.

Hi

Publisher doesn't execute macros. The only way to do this is to create an external program task. Like setting it up in Windows scheduler.

3 Replies
jerrysvensson
Valued Contributor II

Re: Execute Macro with OnPostReload using Publisher.

Hi

Publisher doesn't execute macros. The only way to do this is to create an external program task. Like setting it up in Windows scheduler.

Employee
Employee

Re: Execute Macro with OnPostReload using Publisher.

Page 889 of the QlikView reference manual.

The following triggers are not to be used in the QlikView Server environment, since they lack meaning or

may cause unexpected results:

OnPostReduceData

OnPostReload

Bill

etay_netintent
New Contributor III

Re: Execute Macro with OnPostReload using Publisher.

All of the above is true but....

it is possible to trigger macros via a VBS file.

Create a VBS file to run he macro and call it from external tasks after the reload is finished.

Community Browser