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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
mountaindude
Partner Ambassador
Partner Ambassador

Execution order of command line reload vs OnOpen trigger?

Hi,

does anyone know what the execution order is for OnPostReload vs OnOpen, when using a command line reload scenario.

I.e. using "qv.exe /r file.qvw". Which is triggered first - OnOpen or OnPostReload?

Suspect OnOpen fires first, just want to confirm..

Reason for asking is that I can't get OnPostReload to fire with the command line above (but OnOpen fires as expected), and was wondering whether OnOpen was an alternative. But if OnOpen fires before the data has been reloaded it's no good..

Using QV9 SR6 with server and publisher.

Please mark the post as a solution if it provided you with a solution to the topic at hand. Thanks!
1 Reply
mountaindude
Partner Ambassador
Partner Ambassador
Author

Answering this myself...

OnOpen fires first, then the reload is done, finally OnPostReload macro is fired.

Please mark the post as a solution if it provided you with a solution to the topic at hand. Thanks!