Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Run qvw from qvw

Hello all,

as you can see, I was wondering if was possible to run qlikview file from qlikview file.

Example:

D:\New folder\first.qvw

needs to run

D:\New folder\second.qvw

Is such thing possible?

7 Replies
manojkvrajan
Luminary
Luminary

Yes, it is very much possible. However, you should play with BAT script with reload script. Execution should be thru qv.exe.

Clever_Anjos
Employee
Employee

Create a .bat file

[PATH]\qv.exe /r D:\New folder\first.qvw

[PATH]\qv.exe /r D:\New folder\second.qvw

Not applicable
Author

I dont understand,

what is the script needed to run second file, from the first file?

erjohnso
Creator
Creator

I'd use the management console to schedule tasks to run the qvws. You would set a timeframe or manually start the first qvw and tell the second one to run upon completion of the first.

You can also use a windows task scheduler to run them.

Not applicable
Author

First.qvw uses data that Second.qvw generates. In the Management console, first.qvw is running after the second.

If the data is missing for the first.qvw I want to force run of the second.qvw within the First.qvw.

erjohnso
Creator
Creator

if the first.qvw uses data from second.qvw, doesn't second.qvw always need to run before first.qvw (not just if data is missing?)

Not applicable
Author

The second runs before the first one,

and I want to make sure that first one has data in case that second one failed.

Bottom line, how to execute script from second.qvw within the first one?