Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

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
Contributor III

Re: Run qvw from qvw

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

Employee
Employee

Re: Run qvw from qvw

Create a .bat file

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

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

Not applicable

Re: Run qvw from qvw

I dont understand,

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

erjohnso
Contributor

Re: Run qvw from qvw

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

Re: Run qvw from qvw

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
Contributor

Re: Run qvw from qvw

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

Re: Run qvw from qvw

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?

Community Browser