Qlik Community

Ask a Question

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Welcome to our newly redesigned Qlik Community! Read our blog to learn about all the new updates: READ BLOG and REPORTED ISSUES
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Batch file, macro and binary load


I have an application App.qvw which is generated by performing binary load of Main.qvw and other load statements.

And App.qvw has section access.

I need to periodically reload App.qvw.

I have taken followinng steps to achieve it:

1) Created a macrotest.qvw where i have written a macro to open App.qvw with username and password

2) This macro will open App.qvw, reload, save and close

3) Then it will save macrotest.qvw and quits the application

4) I invoke macrotest.qvw using the following command from the batch file

     "C:\Program Files\QlikView\qv.exe" /l "F:\QV_Test\macrotest.qvw"

This works fine if App.qvw does not have the following statement

binary "Main.qvw"

If i include the above statement then it prompts for username while loading App.qvw

Please suggest and help..

Thanks in advance

0 Replies