<?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 Open pdf documents from Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Open-pdf-documents-from-Qlikview/m-p/341680#M126202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you. will try that. does this work to open files in different server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2012 15:18:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-08T15:18:59Z</dc:date>
    <item>
      <title>Open pdf documents from Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Open-pdf-documents-from-Qlikview/m-p/341678#M126200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a task to open pdf documents after selecting Files in selection lists and button click. But the real hassle is they are on different server. Any ideas how to crack this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 20:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-pdf-documents-from-Qlikview/m-p/341678#M126200</guid>
      <dc:creator />
      <dc:date>2012-03-07T20:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Open pdf documents from Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Open-pdf-documents-from-Qlikview/m-p/341679#M126201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did a similar thing using Excel documents. I accomplished this by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL start="1"&gt;&lt;LI&gt;Include the full path and filename as a field in the load script. I named this field "Filename". If you change the name you will need to change the script.&lt;/LI&gt;&lt;LI&gt;Drop the Filename field in a list box on my form (not necessary, but nice to see what files will be opened).&lt;/LI&gt;&lt;LI&gt;Add a button on the form.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;OL start="1"&gt;&lt;UL&gt;&lt;LI&gt;Set the button action to Run Macro.&lt;/LI&gt;&lt;LI&gt;Click Edit Module.&lt;/LI&gt;&lt;LI&gt;Paste in the following code:&lt;/LI&gt;&lt;/UL&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sub LaunchFile()&lt;BR /&gt;'Launch the file&lt;BR /&gt;set val=ActiveDocument.Fields("Filename").GetPossibleValues&lt;BR /&gt;&lt;BR /&gt;'make sure not opening too many documents&lt;BR /&gt;x = vbOK&lt;BR /&gt;if val.count &amp;gt; 5 then&lt;BR /&gt;x=msgbox("Opening many documents can take a long time. Do you wish to open " &amp;amp; val.Count-1 &amp;amp; " documents?", vbOkCancel, "Confirm open")&lt;BR /&gt;end if&lt;BR /&gt;&lt;BR /&gt;'if ok to launch&lt;BR /&gt;if x = vbOk then&lt;BR /&gt;for i=0 to val.Count-1&lt;BR /&gt;run val.Item(i).Text&lt;BR /&gt;next&lt;BR /&gt;end if &lt;BR /&gt;End Sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;P&gt;Sub Run(ByVal sFile)&lt;BR /&gt;Dim shell&lt;BR /&gt;Set shell = CreateObject("WScript.Shell")&lt;BR /&gt;shell.Run Chr(34) &amp;amp; sFile &amp;amp; Chr(34), 1, false&lt;BR /&gt;Set shell = Nothing&lt;BR /&gt;End Sub&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;I clicked the module security to System Access and Allow System Access.&lt;/LI&gt;&lt;LI&gt;Click Check and then click OK. &lt;/LI&gt;&lt;LI&gt;In the Actions tab set the Macro Name to LaunchFile.&lt;/LI&gt;&lt;LI&gt;Click OK.&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to filter for a few files, and then click the button to launch them. The system will launch the PDF file with the application that is associated with PDF files. I hope this helps!&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 01:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-pdf-documents-from-Qlikview/m-p/341679#M126201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-08T01:11:18Z</dc:date>
    </item>
    <item>
      <title>Open pdf documents from Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Open-pdf-documents-from-Qlikview/m-p/341680#M126202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you. will try that. does this work to open files in different server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 15:18:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-pdf-documents-from-Qlikview/m-p/341680#M126202</guid>
      <dc:creator />
      <dc:date>2012-03-08T15:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Open pdf documents from Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Open-pdf-documents-from-Qlikview/m-p/341681#M126203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. You just need to include the full path to the file. That's what I'm doing with my Excel files. Your path should look something like either of these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\\server\share\folder\file.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;z:\folder\file.pdf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 16:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-pdf-documents-from-Qlikview/m-p/341681#M126203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-08T16:54:43Z</dc:date>
    </item>
  </channel>
</rss>

