<?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 How to auto export PDF after batch reload? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141497#M505163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rob,&lt;/P&gt;&lt;P&gt;Thank you for your suggestion. I have tried and failed with error.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/7462.ScreenHunter_5F00_01-Apr.-16-09.47.gif"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/7462.ScreenHunter_5F00_01-Apr.-16-09.47.gif" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether it is due to Application &amp;amp; OS incompatibility?&lt;/P&gt;&lt;P&gt;Thank you.&lt;BR /&gt;Best Regards&lt;/P&gt;&lt;P&gt;Mingming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2009 09:00:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-04-16T09:00:51Z</dc:date>
    <item>
      <title>How to auto export PDF after batch reload?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141495#M505161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, All,&lt;/P&gt;&lt;P&gt;Situation:&lt;/P&gt;&lt;P&gt;1. Installed QlikviewPDF.&lt;/P&gt;&lt;P&gt;2. Macro script to print to PDF with predefined output path is working when manually click 'reload' in the Qlikview&lt;/P&gt;&lt;P&gt;3. when batch the qvw script with 'qv.exe /r file.qvw', it either shows windows execution error or nothing.&lt;/P&gt;&lt;P&gt;Can anybody help?&lt;/P&gt;&lt;P&gt;The pdf print script is attached:&lt;/P&gt;&lt;P&gt;----------------------------------------&lt;/P&gt;&lt;P&gt;sub ExportPDFs&lt;/P&gt;&lt;P&gt;printReportPDF("c:\file.pdf")&lt;/P&gt;&lt;P&gt;ActiveDocument.PrintReport "RP01", "QlikViewPDF", false&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;Function printReportPDF(pdfPath)&lt;/P&gt;&lt;P&gt;set WSHShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;WSHShell.RegWrite "HKCU\Software\QlikViewPDF\OutputFile", pdfPath, "REG_SZ"&lt;/P&gt;&lt;P&gt;WSHShell.RegWrite "HKCU\Software\QlikViewPDF\BypassSaveAs", "1", "REG_SZ"&lt;/P&gt;&lt;P&gt;set WSHShell = nothing&lt;/P&gt;&lt;P&gt;end Function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 08:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141495#M505161</guid>
      <dc:creator />
      <dc:date>2009-04-16T08:21:04Z</dc:date>
    </item>
    <item>
      <title>How to auto export PDF after batch reload?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141496#M505162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you'll need to add the /NoSecurity switch to your command line:&lt;/P&gt;&lt;P&gt;'qv.exe /r /NoSecurity file.qvw'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 08:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141496#M505162</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-04-16T08:35:26Z</dc:date>
    </item>
    <item>
      <title>How to auto export PDF after batch reload?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141497#M505163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rob,&lt;/P&gt;&lt;P&gt;Thank you for your suggestion. I have tried and failed with error.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/7462.ScreenHunter_5F00_01-Apr.-16-09.47.gif"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/7462.ScreenHunter_5F00_01-Apr.-16-09.47.gif" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether it is due to Application &amp;amp; OS incompatibility?&lt;/P&gt;&lt;P&gt;Thank you.&lt;BR /&gt;Best Regards&lt;/P&gt;&lt;P&gt;Mingming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 09:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141497#M505163</guid>
      <dc:creator />
      <dc:date>2009-04-16T09:00:51Z</dc:date>
    </item>
    <item>
      <title>How to auto export PDF after batch reload?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141498#M505164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW, i am using Qlikview 8.2 and MS Windows Pro SP2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 09:05:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141498#M505164</guid>
      <dc:creator />
      <dc:date>2009-04-16T09:05:34Z</dc:date>
    </item>
    <item>
      <title>How to auto export PDF after batch reload?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141499#M505165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tell u one trick copy this file with different name.&lt;/P&gt;&lt;P&gt;then add one macro in ur script which will be based on time e.g&lt;/P&gt;&lt;P&gt;sub test&lt;/P&gt;&lt;P&gt;if time = 8:00 A.M.&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;call macro pdf&lt;/P&gt;&lt;P&gt;end if.&lt;/P&gt;&lt;P&gt;then put test macro on open.&lt;/P&gt;&lt;P&gt;and then reload this application through batch file,whenver u want to take out pdf scehedule it on that time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 13:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141499#M505165</guid>
      <dc:creator />
      <dc:date>2009-04-16T13:11:43Z</dc:date>
    </item>
    <item>
      <title>How to auto export PDF after batch reload?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141500#M505166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Anwar&lt;/P&gt;&lt;P&gt;Thank you for the suggestion.&lt;/P&gt;&lt;P&gt;Understand that i can do as you suggested:&lt;/P&gt;&lt;P&gt;*. put the PDF generation at the onOpen trigger with a test condition.&lt;/P&gt;&lt;P&gt;1. reload the data i needed first&lt;/P&gt;&lt;P&gt;2. reload 2nd time and trigger the onOpen trigger then the pdf will be printed.&lt;/P&gt;&lt;P&gt;Tested and this suggestion is working.&lt;/P&gt;&lt;P&gt;However, is there any better ways?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Mingming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 13:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141500#M505166</guid>
      <dc:creator />
      <dc:date>2009-04-16T13:31:52Z</dc:date>
    </item>
    <item>
      <title>How to auto export PDF after batch reload?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141501#M505167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried out the solution one more time.&lt;/P&gt;&lt;P&gt;Just noticed that i am not able to print multiple PDF in one function.&lt;/P&gt;&lt;P&gt;It will keep overwriting the same file specified for the first time print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 15:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141501#M505167</guid>
      <dc:creator />
      <dc:date>2009-04-16T15:53:03Z</dc:date>
    </item>
    <item>
      <title>How to auto export PDF after batch reload?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141502#M505168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is pblm in ur pdf function.can u do same work manually..u shld delete previously created file..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 16:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141502#M505168</guid>
      <dc:creator />
      <dc:date>2009-04-16T16:24:46Z</dc:date>
    </item>
    <item>
      <title>How to auto export PDF after batch reload?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141503#M505169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Anwar,&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Double checked my code.&lt;/P&gt;&lt;P&gt;It is my code problem. for debug, i commented out the pdf Function Part.&lt;/P&gt;&lt;P&gt;It is working for multiple PDF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 09:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-auto-export-PDF-after-batch-reload/m-p/141503#M505169</guid>
      <dc:creator />
      <dc:date>2009-04-17T09:11:55Z</dc:date>
    </item>
  </channel>
</rss>

