<?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 PDF Localhost URL link in QlikSense Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/PDF-Localhost-URL-link-in-QlikSense-Table/m-p/11592#M824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a very large selection of pdf files that I need to create URLs for and display in a table. I am working on a Qlik Sense server environment. The question is, what does the format of the URL have to be? I have tried&lt;/P&gt;&lt;P&gt;localhost:80//sharedfolder\mydoc.pdf&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://hostname/sharedfolder\mydoc.pdf" rel="nofollow" target="_blank"&gt;https://hostname/sharedfolder\mydoc.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;file:///C:\Documents\mydoc.pdf&lt;/P&gt;&lt;P&gt;and wide variaty of variations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The results are file not found, site not available or URL is unkown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be very grateful for some help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Pam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2018 14:03:17 GMT</pubDate>
    <dc:creator>pamelabremer</dc:creator>
    <dc:date>2018-04-24T14:03:17Z</dc:date>
    <item>
      <title>PDF Localhost URL link in QlikSense Table</title>
      <link>https://community.qlik.com/t5/App-Development/PDF-Localhost-URL-link-in-QlikSense-Table/m-p/11592#M824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a very large selection of pdf files that I need to create URLs for and display in a table. I am working on a Qlik Sense server environment. The question is, what does the format of the URL have to be? I have tried&lt;/P&gt;&lt;P&gt;localhost:80//sharedfolder\mydoc.pdf&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://hostname/sharedfolder\mydoc.pdf" rel="nofollow" target="_blank"&gt;https://hostname/sharedfolder\mydoc.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;file:///C:\Documents\mydoc.pdf&lt;/P&gt;&lt;P&gt;and wide variaty of variations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The results are file not found, site not available or URL is unkown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be very grateful for some help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Pam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 14:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/PDF-Localhost-URL-link-in-QlikSense-Table/m-p/11592#M824</guid>
      <dc:creator>pamelabremer</dc:creator>
      <dc:date>2018-04-24T14:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: PDF Localhost URL link in QlikSense Table</title>
      <link>https://community.qlik.com/t5/App-Development/PDF-Localhost-URL-link-in-QlikSense-Table/m-p/11593#M825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I received some help and was able to solve the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Displaying PDF Files in a Qlik Sense Application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)Open Windows ITT (Internet Information Services) &lt;/P&gt;&lt;P&gt;2)Under Hostname, right click on «sites» and select «Add Website»&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)In the Add Website dialog box, specify the full physical pathname tot he PDF Files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) In the righthand menu panel, click on Site Bindings and specify the port number that the new website should use. Make sure to use a port that is not being used by QlikSense&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) In your datasource application, create a data connetion (lib) that points to the directory where the files are located &lt;/P&gt;&lt;P&gt;6) In the script, load all the PDF File names into a table using a loop statement. Extract the information from the filename that you need, such as name and timestamp. Make certain to pay close attention to the direction of the slashes / and \ &lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;FOR Each File in filelist('lib://MyPDFFilesDataConnection\*. pdf')&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;PDFFilestmp:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;LOAD&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; '$(File)' as FileName,&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; Filetime('$(File)') as FileTime,&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; autogenerate 1;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;NEXT File&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7) In your refinement script, load all the filenames and generate the URLs. In the URL, make certain to use the correct hostname and portnumber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;PDFFiles:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;LOAD *,&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://Hostname:85/" rel="nofollow" target="_blank"&gt;http://Hostname:85/&lt;/A&gt;&lt;SPAN&gt; '&amp;amp; FileName as PDFURL&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Resident PDFFilestmp ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Display the URLs in a table along with any other information you need to associate with them. Make sure to select « URL » in the sidebar, data element, as the display method. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 09:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/PDF-Localhost-URL-link-in-QlikSense-Table/m-p/11593#M825</guid>
      <dc:creator>pamelabremer</dc:creator>
      <dc:date>2018-06-11T09:15:09Z</dc:date>
    </item>
  </channel>
</rss>

