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.
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…
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?