PDF viewer within form

Hi all,

Is there an existing solution, either through a custom presenter or widget, where we can pass in a PDF file from a record field to a PDF viewer (similar to Mozilla’s PDF.js) without the need to download the file? Adding the file field directly only offers download as a way of viewing the file, but we have concerns about this from a security standpoint and also functionality standpoint, as the form would be used within a Converse iframe window and we’re not sure about how this will affect downloaded files.

Any help would be much appreciated. Thanks!

If you are using File objects, then yes.

File Objects can automatically create previews (as a PDF) of many file types, and there is a widget called Document Viewer which will then display that preview file, like the example below…

The same is not currently possible with File Properties, but I’ve raised an Idea to see if that could be supported in future: https://ideas.netcall.com/i/ideas/p/feature/vote/idea/view?context_record_id=1818583

Many thanks, a small rework on our end but it’ll be simpler than the alternatives we’ve thought of and we won’t have to worry about permissions/security. Do you know if the Document Viewer widget supports files hosted on SharePoint, as long as it’s still inside a file object?

Yes it should work just the same if using an S3 filestore.