Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Support Cases coming to Qlik Community Oct. 4! Start chats, open cases, explore resources: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
qliksus
Specialist II
Specialist II

Regarding Reloading problem using BAT file

Hi,

I have 2 file one is DATALOADING.Qvw and another is ANALYSIS.qvw. I want to schedule the reloading time, so that i created one new qvw file called RELOAD.Qvw in which i write macro which reload the Qvw files one after one. After that run the macro after reload by using trigger. And it is working in normal way (Means after manual relaoding of RELOAD.Qvw) . After that i created one BAT FILE to schedule the reload time. And now the problem comes. The BAT FILE is only able to reload the RELOAD.QVW FILE ONLY NOT THE MACRO WHICH SHOULD RUN AND RELOAD THE 2 FILES AFTER RELOADING OF RELAD.QVW .

Can anyone tell me why bat is reloading only the Reloading.Qvw not the macro written inside???

1 Solution

Accepted Solutions
Not applicable

Hi,

The better approach for reloading qvw files is not through macros.

You can use a single batch file to reload both the qvw files by writing two lines as follows:-

"Path of qv.exe" /r "Path of DATALOADING.Qvw file"

"Path of qv.exe" /r "Path of ANALYSIS.Qvw file"

and then you can put this batch file on Windows Scheduler.

This will start reloading the second file only after the completion of reload for the first file.

Thanks & Best Regards,

Kuldeep Tak

View solution in original post

2 Replies
Not applicable

Hi,

The better approach for reloading qvw files is not through macros.

You can use a single batch file to reload both the qvw files by writing two lines as follows:-

"Path of qv.exe" /r "Path of DATALOADING.Qvw file"

"Path of qv.exe" /r "Path of ANALYSIS.Qvw file"

and then you can put this batch file on Windows Scheduler.

This will start reloading the second file only after the completion of reload for the first file.

Thanks & Best Regards,

Kuldeep Tak

View solution in original post

qliksus
Specialist II
Specialist II
Author

Thanks Kuldeep for your suggestion. I will follow this method. Hope this will work .