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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

using onpostreload to open new qvw

I am trying to make a qvw that, after reloading script, opens another qvw.

I've gone to document properties -> triggers -> OnPostReload -> Actions -> Add Acction -> External -> Open QlikView Document.

Then when I open the expression dialog to specify the qvw, I run into issues.  Do I just list the path and qvw?  I tried that but it failed.  Then I did =&(vNewQVWPath)child_qvw.qvw.

vNewQVWPath = dir\subdir\

child_qvw.qvw is the qvw I want.

I also tried using ...dir\subdir\child_qvw.qvw.

When I create a button that opens a qvw (using that path definition) it works. But OnPostReload is not opening the 2nd qvw after reloading its script.

Thoughts?

Message was edited by: Chris Rockhill

4 Replies
rustyfishbones
Master II
Master II

Have you tried using Launch instead

2013-11-14_2236.png

Not applicable
Author

I did try that too (after you suggested it).   It's not working either. 

jerrysvensson
Partner - Specialist II
Partner - Specialist II

Are you running this in Publisher?

Publisher will not run OnPostreload macro.

You can use qv.exe /r app.qvw and external task if  you need this to work.

Not applicable
Author

Ok, thanks.  I'll try that.