<?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 Viewing in qv pdf content from the blob in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198642#M57875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FILE_NAME? Its cool, but we need PDF &lt;B&gt;file from blob field&lt;/B&gt; FILE_BLOB&lt;/P&gt;&lt;P&gt;How we take file from blob to QlikView application?&lt;/P&gt;&lt;P&gt;More details, please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Sep 2010 12:13:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-14T12:13:12Z</dc:date>
    <item>
      <title>Viewing in qv pdf content from the blob</title>
      <link>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198638#M57871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, all&lt;/P&gt;&lt;P&gt;I have a table in oracle 10g db with the blob field.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-2343_sourceID:2343" /&gt;&lt;/P&gt;&lt;P&gt;PDF files stored in it&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Can i open PDF files in QV?&lt;/P&gt;&lt;P&gt;I see in RefMan "QlikView supports jpg, png, bmp, pdf and rtf blobs"&lt;/P&gt;&lt;P&gt;What mean word "supports"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 13:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198638#M57871</guid>
      <dc:creator />
      <dc:date>2010-09-13T13:59:43Z</dc:date>
    </item>
    <item>
      <title>Viewing in qv pdf content from the blob</title>
      <link>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198639#M57872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"QlikView supports jpg, png, bmp, pdf and rtf blobs" Means that You can create jpg,png,bmp,pdf from qvw application but not vice-versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 14:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198639#M57872</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-09-13T14:26:01Z</dc:date>
    </item>
    <item>
      <title>Viewing in qv pdf content from the blob</title>
      <link>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198640#M57873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible to open PDF file in qvw file?&lt;/P&gt;&lt;P&gt;I mean:&lt;/P&gt;&lt;P&gt;1. The user select one record from table&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/3581.blob2.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/3581.blob2.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Then press some button&lt;/P&gt;&lt;P&gt;3. File prince.pdf (from oracle blob field) open in AcrobatReader.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/3005.blob2.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/3005.blob2.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 10:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198640#M57873</guid>
      <dc:creator />
      <dc:date>2010-09-14T10:02:53Z</dc:date>
    </item>
    <item>
      <title>Viewing in qv pdf content from the blob</title>
      <link>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198641#M57874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi lexander,&lt;/P&gt;&lt;P&gt;As user selects any file from the pivot table in qlikview. You can assign the file to variable like vFileName = Only(FILE_NAME) and create one button and add action or macro to open executeable for this variable.&lt;/P&gt;&lt;P&gt;It will work but in this case, first of all user has to select any one file before pressing on button. (it is alternative but not solution).&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj Kishor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 11:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198641#M57874</guid>
      <dc:creator />
      <dc:date>2010-09-14T11:51:15Z</dc:date>
    </item>
    <item>
      <title>Viewing in qv pdf content from the blob</title>
      <link>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198642#M57875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FILE_NAME? Its cool, but we need PDF &lt;B&gt;file from blob field&lt;/B&gt; FILE_BLOB&lt;/P&gt;&lt;P&gt;How we take file from blob to QlikView application?&lt;/P&gt;&lt;P&gt;More details, please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 12:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198642#M57875</guid>
      <dc:creator />
      <dc:date>2010-09-14T12:13:12Z</dc:date>
    </item>
    <item>
      <title>Viewing in qv pdf content from the blob</title>
      <link>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198643#M57876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you going to host the solution on a QVS or is it stand-alone QV only?&lt;BR /&gt;If it is on a QVS the easiest way would be to not load the blob into the qv-file in the first place (there's really no need to have it in the qv-file), but instead have a unique ID for each document read into QV. Then you can create dynamic URL:s in QV using the ID for a document, like:&lt;BR /&gt;http://server/getdoc.asp?documentid=001&lt;/P&gt;&lt;P&gt;getdoc.asp in this case will fetch the blob from the DB using the documentid and return the binary result correctly formated (with correct content type etc) back to the browser, which will trigger for example acrobat reader to open the pdf-file. Use ADODB.Stream or similar to stream the content back.&lt;/P&gt;&lt;P&gt;If we're talking stand-alone qv-docs you can do the same if the end-user can access the web server. If not, you need to store the blob inside the qv-doc, write a macro using ADODB.Stream and save the file as a temporary file on the machine. Then you can utilze Launch to open the previously saved file:&lt;BR /&gt;set app = ActiveDocument.GetApplication&lt;BR /&gt;app.Launch "C:\Program files\Internet Explorer\iexplore.exe" "C:\temp\mytemppdf.pdf"&lt;/P&gt;&lt;P&gt;Might be other ways of doing it so you don't have to save the document to disk, but not sure if you can using vbscript in a macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 12:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198643#M57876</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2010-09-14T12:43:21Z</dc:date>
    </item>
    <item>
      <title>Viewing in qv pdf content from the blob</title>
      <link>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198644#M57877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Bjorn&lt;/P&gt;&lt;P&gt;I'm gonna to use QVS&lt;/P&gt;&lt;P&gt;I'll try your advice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 14:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198644#M57877</guid>
      <dc:creator />
      <dc:date>2010-09-14T14:50:54Z</dc:date>
    </item>
    <item>
      <title>Viewing in qv pdf content from the blob</title>
      <link>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198645#M57878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found a really old example asp-page which might be useful to get you started (there are more efficient ways of doing this if you're into .NET instead of "old asp"):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&amp;lt;%&lt;BR /&gt;ID = 1 'blob_id to retrieve from DB, can be fetched from the query-string when calling the page&lt;BR /&gt;BlockSize = 4096 'size of chunks to read&lt;BR /&gt;Response.ContentType = "image/JPEG" 'type&lt;BR /&gt;Set ADOConn = Server.CreateObject("ADODB.Connection")&lt;BR /&gt;ADOConn.Open "FILE NAME=c:\test.udl"&lt;BR /&gt;strQuery = "SELECT * FROM BinaryObject WHERE blob_id = " &amp;amp; ID&lt;BR /&gt;Set oRS = ADOConn.Execute(strQuery)&lt;BR /&gt;oRS.MoveFirst&lt;BR /&gt;Set Field = oRS("blob_object")&lt;BR /&gt;FileLength = Field.ActualSize&lt;BR /&gt;NumBlocks = FileLength \ BlockSize&lt;BR /&gt;LeftOver = FileLength Mod BlockSize&lt;BR /&gt;Response.BinaryWrite Field.GetChunk(LeftOver)&lt;BR /&gt;For intLoop = 1 To NumBlocks&lt;BR /&gt; Response.BinaryWrite Field.GetChunk(BlockSize)&lt;BR /&gt;Next&lt;BR /&gt;oRS.Close&lt;BR /&gt;ADOConn.Close&lt;BR /&gt;Set oRS = Nothing&lt;BR /&gt;Set ADOConn = Nothing&lt;BR /&gt;%&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 15:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Viewing-in-qv-pdf-content-from-the-blob/m-p/198645#M57878</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2010-09-14T15:19:03Z</dc:date>
    </item>
  </channel>
</rss>

