Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
marksmunich
Creator III
Creator III

integrating pdf's in to qlikview application

Hello Community,

i would like to create a qlikview application where i would like to open pdf's with in the qlikview application. is there any plugin in qlikview which support opening a pdf with in the qlikview application. i would like to organise all my pdf documents in my pc with qlikview application, how to solve this.

2 Replies
marcus_sommer

There are several possibilities. You could use actions with launch a document or hyperlinks in a table or a macro like this:

Sub openPDF

Dim objWscript, path, file, pdf

set objWscript = CreateObject("WScript.Shell")
path = "D:\Path\"
pdf = """C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"""

Set file = ActiveDocument.Fields("PDF-Files").GetPossibleValues
file = file.Item(0).Text

objWscript.Run(pdf & """" & path & file & """")

End Sub


In all cases you need a complete path to the documents - manually or perhaps per a loop (see F1) like this:

subListeGenerieren (Basis)

foreach Erweiterung in 'qvw', 'qva', 'qvo', 'qvs'

foreach Datei in filelist (Basis&' \*.' &Erweiterung)

LOAD '$(Datei)' AS Name, FileSize( '$(Datei)' ) AS

Größe, FileTime( '$(Datei)' ) AS DateiZeit

AUTOGENERATE 1;

next Datei

next Erweiterung

foreach Verzeichnis in dirlist (Basis&' \*' )

callListeGenerieren (Verzeichnis)

next Verzeichnis

endsub

callListeGenerieren ('C:')

- Marcus

vikasmahajan

PFA

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.