<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Batch file, macro and binary load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Batch-file-macro-and-binary-load/m-p/351269#M130246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an application App.qvw which is generated by performing binary load of Main.qvw and other load statements.&lt;/P&gt;&lt;P&gt;And App.qvw has section access.&lt;/P&gt;&lt;P&gt;I need to periodically reload App.qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have taken followinng steps to achieve it:&lt;/P&gt;&lt;P&gt;1) Created a macrotest.qvw where i have written a macro to open App.qvw with username and password&lt;/P&gt;&lt;P&gt;2) This macro will open App.qvw, reload, save and close&lt;/P&gt;&lt;P&gt;3) Then it will save macrotest.qvw and quits the application&lt;/P&gt;&lt;P&gt;4) I invoke macrotest.qvw using the following command from the batch file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "C:\Program Files\QlikView\qv.exe" /l "F:\QV_Test\macrotest.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine if App.qvw does not have the following statement&lt;/P&gt;&lt;P&gt;binary "Main.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i include the above statement then it prompts for username while loading App.qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest and help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2012 05:46:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-14T05:46:31Z</dc:date>
    <item>
      <title>Batch file, macro and binary load</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-file-macro-and-binary-load/m-p/351269#M130246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an application App.qvw which is generated by performing binary load of Main.qvw and other load statements.&lt;/P&gt;&lt;P&gt;And App.qvw has section access.&lt;/P&gt;&lt;P&gt;I need to periodically reload App.qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have taken followinng steps to achieve it:&lt;/P&gt;&lt;P&gt;1) Created a macrotest.qvw where i have written a macro to open App.qvw with username and password&lt;/P&gt;&lt;P&gt;2) This macro will open App.qvw, reload, save and close&lt;/P&gt;&lt;P&gt;3) Then it will save macrotest.qvw and quits the application&lt;/P&gt;&lt;P&gt;4) I invoke macrotest.qvw using the following command from the batch file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "C:\Program Files\QlikView\qv.exe" /l "F:\QV_Test\macrotest.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine if App.qvw does not have the following statement&lt;/P&gt;&lt;P&gt;binary "Main.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i include the above statement then it prompts for username while loading App.qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest and help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 05:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Batch-file-macro-and-binary-load/m-p/351269#M130246</guid>
      <dc:creator />
      <dc:date>2012-03-14T05:46:31Z</dc:date>
    </item>
  </channel>
</rss>

