PDF

Posted: 2017-01-21 in PDF

Q:
I would like to allow my users to click on a cell in a column of a Grid or Report section that contains the location of a PDF or JPG file (e.g. \data\jane_doe\resume.pdf) and have the PDF file displayed
A:
1) make the column a URL
2) in the link click delegate of the section, the controlsource and the text of the field are passed, so you can know what action to initiate
3) that action would be to show the pdf, which you can do with Lianja.showDocument(…), or various other ways available in Lianja (e.g., DocumentView section).



Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s