Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
Talk to Experts Tuesday, Live Q&A, September 22: Moving from QlikView to Qlik Sense. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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
Highlighted
Creator III
Creator III

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

Highlighted
Employee
Employee

Create a .bat file

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

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

Highlighted
Not applicable

I dont understand,

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

Highlighted
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.

Highlighted
Not applicable

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.

Highlighted
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?)

Highlighted
Not applicable

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?