Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have a macro which is used to save report to pdf document on
the server machine. It is excuted after reloading (Document Event Trigger > OnPostReload) with success. New pdf document was created on the server machine after i run it on the machine. But when i put this qvw file to document folder of this QlikView Server and run it on QMC. No pdf document is added to the server machine.
What's the problem? Please help me. Thanks in advance.
Zhou
Hi
You have to use:
"c:\program files\qlikview\qv.exe" /r "c:\temp\My app.qvw"
Your path to qv.exe might be different.
You can use the exact same syntax in External task.
OnPostReload (no Triggers will run) will not run when you run it in QMC. See Reference manual.
You can either setup an External task or a Windows task and use:
qv.exe /r app.qvw to get your save report to pdf to work.
Thanks Jerry, I think you're right. Macro won't be excuted after reloading task.
When i tried windows task and the .bat file is like this :
qv.exe /r [my app.qvw]
But It didn't start to reload. Meanwhile, how can i do it using External task?
thanks
Hi
You have to use:
"c:\program files\qlikview\qv.exe" /r "c:\temp\My app.qvw"
Your path to qv.exe might be different.
You can use the exact same syntax in External task.
Thank you, Jerry. It worked using .bat file ! But i don't get your External task. I nerver use it. Do you mean the "On a External Event" when setting reload schedual in QMC (and what the password mean)? Thanks!
Hi
No that is an event.
If you have Publisher. Go to System, choose Supporting tasks, click the + and you will find External program.
Basically the same as using Windows Task scheduler.
My issue come with my having no Publisher...Thanks anyway. I choose to use Windows task.