Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Launch/Macro to Open PDF document

I have to open the PDF document based on the User selection

If I select Customer 123450 and I have stored customer file 123450.PDF in the shared drive

Created new button and Using Launch

application -I have pointed the file to open the adobe reader.exe

Parameter -calling the variable $(vCustomer)

Variable vCustomer has the value of 123450

when I hit the button Adobe reader is opening - I am getting error message

"There was an error opening this document .This file cannot be found"

Advance Thanks for help

3 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

It sounds like you are not creating a complete pathname to the document in the parameter field. Put your parameter in a textobject to see if the substitution of vCustomer makes a complete filename.

I usually find it easiest to just put the filename in the Application field and rely on the .pdf file association to open Reader.

-Rob

Not applicable
Author

Rob hope you can help,

I'm trying to open a pdf document which is stored on the server via the QV html plugin.

I'm using a button with the Lauch/Export option

Application = AcroRd32.exe

Parameters = path and pdf filename

This works fine in developer, but via IE, QV is looking for the pdf file on the users' local drive.

Any suggestions on how I could get QV or Adobe to look at the file on the server

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Specify the path to the PDF file using UNC syntax.

\\ServerName\ShareName\dir\myfile.pdf

That should work for both developer and server.

-Rob