Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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
PFA