<?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 Best practice to run batch program before and after QlikView reload ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Best-practice-to-run-batch-program-before-and-after-QlikView/m-p/331757#M1276476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Denis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For running a .bat file I have successfully used the EXECUTE command in the script - just place at the start and end.&amp;nbsp; For the external file event I "think" this might be possible using Publisher.&amp;nbsp; Otherwise search in this forum for using EDX and you can use just about any trigger you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2012 10:44:12 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2012-04-02T10:44:12Z</dc:date>
    <item>
      <title>Best practice to run batch program before and after QlikView reload ?</title>
      <link>https://community.qlik.com/t5/QlikView/Best-practice-to-run-batch-program-before-and-after-QlikView/m-p/331756#M1276473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current solution is unique V10 Server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My main problems are :&lt;/P&gt;&lt;P&gt;1 - How to run a batch to get files from various local or remote locations (copying using network drives or using ftp commands) to get the source file on the server BEFORE starting the loading ?&lt;/P&gt;&lt;P&gt;=&amp;gt; When trying to do an OnOpen trigger using action External/Run and then "CMD.EXE /C myprebatch.bat" : it does not work&lt;/P&gt;&lt;P&gt;2 - How to run a batch to execute some actions AFTER finishing the loading ?&lt;/P&gt;&lt;P&gt;2a - one desired action is to store document on a network drive =&amp;gt; Direct store does not work as a server local store is OK, so i just want to add a copy.&lt;/P&gt;&lt;P&gt;2b - another action is running an .XLSM excel macro file to change the result display generated by QV.&lt;/P&gt;&lt;P&gt;3- Is it possible to trigger a reload based on effective presence of a file (To be deleted immediately once the load is complete) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there somewhere a document complenetay to the user manual to explain with some real examples (and also prerequisites or points to take care of) ?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;P&gt;Denis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-practice-to-run-batch-program-before-and-after-QlikView/m-p/331756#M1276473</guid>
      <dc:creator>dtronel</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Best practice to run batch program before and after QlikView reload ?</title>
      <link>https://community.qlik.com/t5/QlikView/Best-practice-to-run-batch-program-before-and-after-QlikView/m-p/331757#M1276476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Denis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For running a .bat file I have successfully used the EXECUTE command in the script - just place at the start and end.&amp;nbsp; For the external file event I "think" this might be possible using Publisher.&amp;nbsp; Otherwise search in this forum for using EDX and you can use just about any trigger you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 10:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-practice-to-run-batch-program-before-and-after-QlikView/m-p/331757#M1276476</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-02T10:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice to run batch program before and after QlikView reload ?</title>
      <link>https://community.qlik.com/t5/QlikView/Best-practice-to-run-batch-program-before-and-after-QlikView/m-p/331758#M1276478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason&lt;/P&gt;&lt;P&gt;First of all, thanks a lot for your reactivity.&lt;/P&gt;&lt;P&gt;Can you provide me an example of script using (successfully for you) the EXECUTE command ? This is just to save time by avoiding errors wrongly using quotes/brackets/commas….&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did find EDX could be the solution, but I also need to investigate a little bit more to catch the correct way to use this feature.&lt;/P&gt;&lt;P&gt;Thx again&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;denis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De : Jason Michaelides &lt;A href="mailto:qliktech@sgaur.hosted.jivesoftware.com"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Envoyé : lundi 2 avril 2012 12:45&lt;/P&gt;&lt;P&gt;À : TRONEL, Denis&lt;/P&gt;&lt;P&gt;Objet : &lt;A href="Deployment and Management (Server/Publisher/AJAX/IE/Web Parts)"&gt;&lt;/A&gt; - Re: Best practice to run batch program before and after QlikView reload ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikCommunity&amp;lt;http://community.qlik.com/index.jspa&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: Best practice to run batch program before and after QlikView reload ?&lt;/P&gt;&lt;P&gt;created by Jason Michaelides&amp;lt;http://community.qlik.com/people/jason.michaelides&amp;gt; in Deployment and Management (Server/Publisher/AJAX/IE/Web Parts) - View the full discussion&amp;lt;http://community.qlik.com/message/206490#206490&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 12:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-practice-to-run-batch-program-before-and-after-QlikView/m-p/331758#M1276478</guid>
      <dc:creator>dtronel</dc:creator>
      <dc:date>2012-04-02T12:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice to run batch program before and after QlikView reload ?</title>
      <link>https://community.qlik.com/t5/QlikView/Best-practice-to-run-batch-program-before-and-after-QlikView/m-p/331759#M1276480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the F1 help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;H1&gt;&lt;A name="kanchor596"&gt;&lt;/A&gt;Execute&lt;/H1&gt;&lt;P&gt;With the &lt;SPAN class="Bold"&gt;execute&lt;/SPAN&gt; statement it is possible to run other programs during the re-execution of the QlikView script, e.g. conversions that are necessary.&lt;/P&gt;&lt;P&gt;The syntax is:&lt;/P&gt;&lt;H4&gt;execute &lt;SPAN style="font-style: italic;"&gt;commandline&lt;/SPAN&gt;&lt;/H4&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;commandline&lt;/SPAN&gt; is a text that can be interpreted by the operating system as a command line.&lt;/P&gt;&lt;H2&gt;Examples:&lt;/H2&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Execute C:\MSOffice95\Excel\Excel.exe;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Execute winword macro.doc; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="color: #ff0000;"&gt;Execute cmd.exe /C C:\BatFiles\Log.bat&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Note:&lt;BR /&gt;&lt;/SPAN&gt;The /C needs to be included as it is a parameter to cmd.exe. &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also need to ensure you check the "Can Execute External Programs" checkbox in the Settings tab of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 14:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-practice-to-run-batch-program-before-and-after-QlikView/m-p/331759#M1276480</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-02T14:05:27Z</dc:date>
    </item>
  </channel>
</rss>

