<?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 Re: DOS command to Export a Table from QlikView QVF in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501491#M5337</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/325520"&gt;@Qliksol&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the reload is going to be an issue I might need to understand the complete picture.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the chart is only updated once a week then a export on reload should be sufficient?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each time there is a reload the object should be exported. Retrieving this csv file from a location )based on the last reload) would be the same as a DOS command that gets "the last reloaded object as a csv"&lt;/P&gt;
&lt;P&gt;Please correct me if I am wrong?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards -&lt;/P&gt;
&lt;P&gt;Jandre&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2025 17:01:18 GMT</pubDate>
    <dc:creator>JandreKillianRIC</dc:creator>
    <dc:date>2025-01-15T17:01:18Z</dc:date>
    <item>
      <title>DOS command to Export a Table from QlikView QVF</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501092#M5317</link>
      <description>&lt;P&gt;Howdy,&lt;/P&gt;
&lt;P&gt;I have a chart in a QVF that is updated each week.&amp;nbsp; I would like to run a DOS command to export the data to a CSV file.&lt;/P&gt;
&lt;P&gt;I've read quite a few posts, but I'm not seeing anything like this.&amp;nbsp; Is it possible?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 23:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501092#M5317</guid>
      <dc:creator>Qliksol</dc:creator>
      <dc:date>2025-01-13T23:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: DOS command to Export a Table from QlikView QVF</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501122#M5320</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/325520"&gt;@Qliksol&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the need for this? I assume its for automating the export.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use a Macro in QlikView.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I think the easiest way would be to just do it in the script itself.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Store [Table] into [C:\QlikApp\Data\Test.csv] (delimiter is ',');&lt;/P&gt;
&lt;P&gt;This will store the table in a comma delimited file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might need to do some data modeling work to get the result in the back end that replicates the chart (Expressions &amp;amp; Dimensions)&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 07:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501122#M5320</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-01-14T07:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: DOS command to Export a Table from QlikView QVF</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501197#M5323</link>
      <description>&lt;P&gt;Thanks for the response Jandre.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm looking for automation, so manually opening files in Excel or Qlikview won't really work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Purpose of DOS is that it can be executed from just about any automation software imaginable.&lt;/P&gt;
&lt;P&gt;So, I am imagining something like:&lt;/P&gt;
&lt;P&gt;C:\Qlikview.exe&amp;nbsp; myqvf.qvf&amp;nbsp; -store&amp;nbsp; ('Table1', somefile.txt)&lt;/P&gt;
&lt;P&gt;Hoping this is possible.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 14:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501197#M5323</guid>
      <dc:creator>Qliksol</dc:creator>
      <dc:date>2025-01-14T14:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: DOS command to Export a Table from QlikView QVF</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501218#M5324</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/325520"&gt;@Qliksol&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you build this table in the backend? If so, Then I have a solution for you. If not, I will continue diving into my "old" files to see what I can get.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 16:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501218#M5324</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-01-14T16:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: DOS command to Export a Table from QlikView QVF</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501242#M5325</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/325520"&gt;@Qliksol&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the application reload make sure that "Closed when finished" is ticked. You must do a manual reload so that you can tick this box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_0-1736877036272.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176445iDD1D457AA941EA58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_0-1736877036272.png" alt="JandreKillianRIC_0-1736877036272.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now go to the Module or "macro's" (Ctrl + M or Tools &amp;gt; Edit Module)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_1-1736877137102.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176446i4E2B865FFE7A8B01/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_1-1736877137102.png" alt="JandreKillianRIC_1-1736877137102.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Add this script - Just change the &lt;STRONG&gt;CH01&amp;nbsp;&lt;/STRONG&gt;to the table object id that you want to export to csv, also change the path and the filename.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Sub ExportToCSV&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Set ExObj = ActiveDocument.GetSheetObject("&lt;STRONG&gt;CH01&lt;/STRONG&gt;")&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ExObj.Export "C:\Users\Jandr\OneDrive\Desktop\Test.csv", ",", , TRUE&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;End Sub&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also ensure that the left bottom matches this (In the Module) &lt;STRONG&gt;System Access&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_4-1736877541064.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176449i482A97F4F7E856D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_4-1736877541064.png" alt="JandreKillianRIC_4-1736877541064.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now go to Document Properties&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_2-1736877308885.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176447i1946526D57E125B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_2-1736877308885.png" alt="JandreKillianRIC_2-1736877308885.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Under Triggers &amp;gt; OnPostReload &amp;gt; Edit Actions &amp;gt; External &amp;gt; Run Macro &amp;gt; Enter the macro name (Step 1 to 5)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_3-1736877455454.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176448i74E04192470F63D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_3-1736877455454.png" alt="JandreKillianRIC_3-1736877455454.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Save and close the application.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Now create a .bat file that has this content. Just change the path to the location of your qvf.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"c:\Program Files\QlikView\QV.exe" /r &lt;STRONG&gt;C:\Users\Jandr\OneDrive\Desktop\Test.qvf&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you run the .bat file it will export your chart to csv in the desired location.&lt;/P&gt;
&lt;P&gt;Please let me know if this solution works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 18:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501242#M5325</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-01-14T18:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: DOS command to Export a Table from QlikView QVF</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501475#M5336</link>
      <description>&lt;P&gt;Thanks for the very detailed instructions.&amp;nbsp; On a small test QVD, I have the file exporting on manual reload, but when I try to run the external batch file, it does not throw an error, but it does not produce an export.&lt;/P&gt;
&lt;P&gt;The reload is going to be a major issue.&amp;nbsp; It takes well over 3 hours to reload our production QVD.&amp;nbsp; Is there any possibility of exporting a table without reloading?&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 15:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501475#M5336</guid>
      <dc:creator>Qliksol</dc:creator>
      <dc:date>2025-01-15T15:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: DOS command to Export a Table from QlikView QVF</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501491#M5337</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/325520"&gt;@Qliksol&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the reload is going to be an issue I might need to understand the complete picture.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the chart is only updated once a week then a export on reload should be sufficient?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each time there is a reload the object should be exported. Retrieving this csv file from a location )based on the last reload) would be the same as a DOS command that gets "the last reloaded object as a csv"&lt;/P&gt;
&lt;P&gt;Please correct me if I am wrong?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards -&lt;/P&gt;
&lt;P&gt;Jandre&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 17:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501491#M5337</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-01-15T17:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: DOS command to Export a Table from QlikView QVF</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501505#M5338</link>
      <description>&lt;P&gt;Hi Jandre,&lt;/P&gt;
&lt;P&gt;I think exporting on reload might be OK. I'm very concerned about the long load time (3 hours) and all the other things that can go wrong.&amp;nbsp; I hate to add another straw to the camel's back.&amp;nbsp; The load crashes occasionally and I don't want to be the person that causes the next crash.&lt;/P&gt;
&lt;P&gt;Testing will be problematic since I don't want to reload (3 hours) for each new test.&lt;/P&gt;
&lt;P&gt;I have 25 years of SQL experience, but only a few weeks of Qlik experience (new job).&amp;nbsp; I like Qlik, it does a lot of cool stuff.&amp;nbsp; However, I'm a bit disappointed in it's lack of interaction with other tools.&lt;/P&gt;
&lt;P&gt;Thanks again for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 19:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501505#M5338</guid>
      <dc:creator>Qliksol</dc:creator>
      <dc:date>2025-01-15T19:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: DOS command to Export a Table from QlikView QVF</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501506#M5339</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/325520"&gt;@Qliksol&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That great news. Please dont forget to mark the solution as solved. Otherwise the question will stay open forever.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding Qlik. I have 16 years experience in Qlik, its truly an amazing tool. QlikView is the "legacy" tool, Qlik Sense is newer and Qlik Cloud is the latest. The underlying structure is the same (like QIX etc) but there are major improvements in the newer tech. In terms of integrating with other tools Qlik is actually not bad. They have a open API, not to mention Qlik Talent and Qlik Application Automation etc etc. However QlikView is lacking some of these as this is a "older" version. The first version of QlikView was released in 1994.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are "add on" tools like Qlik NPrinting or Qalyptus that sits on top of a Qlik solution to provide robust reporting and on automated exports / distribution of charts / tables and reports - however for this use case it might be too expensive for this solution.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I mentioned, if you can do some data modelling you wont need the macro (vba script and the triggers) as this will sit in the back end and automatically export upon reload. More than happy to help if this might be a requirement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day further and dont hesitate to reach out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards - Jandre&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 19:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501506#M5339</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-01-15T19:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: DOS command to Export a Table from QlikView QVF</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501523#M5343</link>
      <description>&lt;P&gt;Or use NPrinting, or Server (Store in csv) or RPA (Python)&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 20:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501523#M5343</guid>
      <dc:creator>eddyvargas</dc:creator>
      <dc:date>2025-01-15T20:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: DOS command to Export a Table from QlikView QVF</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501562#M5346</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/325520"&gt;@Qliksol&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got the solution for you without doing a reload.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Document Tigger that you added for post reload - Just change this to OnOpen. See below&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_0-1737012193823.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/176514iCDEA0E57845B4CB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_0-1737012193823.png" alt="JandreKillianRIC_0-1737012193823.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the new .bat file - You will see there is a 30 second wait time - This will allow for the application to open and the macro to run. Adjust this if needed.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;@echo off
REM Start the QlikView application and get its Process ID (PID)
start "" "c:\Program Files\QlikView\QV.exe" "C:\Users\Jandr\OneDrive\Desktop\Test.qvf"
for /f "tokens=2" %%a in ('tasklist /fi "imagename eq QV.exe" /fo list ^| findstr "PID:"') do set PID=%%a

REM Wait for 30 seconds
timeout /t 10 /nobreak &amp;gt;nul

REM Close the specific instance of QV.exe using its PID
taskkill /pid %PID% /f&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This .bat file will open the QVF - Run the macro using the trigger and then close the application.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if this is the solution you where looking for.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards - Jandre&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 07:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/DOS-command-to-Export-a-Table-from-QlikView-QVF/m-p/2501562#M5346</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-01-16T07:25:23Z</dc:date>
    </item>
  </channel>
</rss>

