Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
chris1987
Creator
Creator

Export PDF Report after reload on server (Batch Load)

Hi,

I'm trying to output a PDF report to a folder each morning after the data is reloaded. I've managed to do this using Document triggers and a simple macro, so when the data is reloaded the PDF is outputted as it should be.

BUT, this is on my local machine, when I publish the application this no longer works, as from what I understand the document OnPostReload triggers don't work on the server environment.

I've read that this can be resolved by reloading the app via a batch script but I can't get this to work. I've wrote the script below and it does reload the application, but the report is not generated after it has completed:

cd "C:\Program Files\QlikView\"

qv.exe /r "D:\Qlikview\UK\SourceDocuments\QVW\Orders - Quote Information.qvw"

Can anyone advise how I can get the OnPostReload triggers to fire and run the macro after the data has been reloaded on the server? We don't have nPrinting so this is not an option.

Thanks

Chris         

2 Replies
albert_nieto
Contributor
Contributor

Hello Chris,

we have the same problem since we upgraded to qlikview version 12.20 SR6 (November 2017).

For version 11 we did not have this problem.

It seems as if the onPostReload event did not fire.

Did you solve the problem?

Thanks in advance

davidg_curs
Contributor II
Contributor II

Has anyone found a solution?