PDF Viewer with PDFJS

I want to be able to open a pdf in a tiny window on a grid. I am using pdf.js and I have installed it in my external library. I just cant seem to be able to get the specific pdf I want to be able to open. Any help would be much appreciated.

It works for me, i added a field document1 to the table. In the on record event I have put this code :

<a href=$string_link class=scButton_small target=_blank title=Document style=vertical-align: middle; display:inline-block; border: 1px solid black>Document

the string link is a variable that references to the document https://www.yourdomain.us/_lib/file/doc/document_name

I had a problem displaying my html code. So had to remove all the quotes and double quotes.

1 Like