Displaying PDF's on a ServiceNow Portal to Unathenticated users

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 08:35 AM
We are looking to display pdf attachments that are located on the sys_attachement table on a portal that is available to unauthenticated users.
This portal is a public website and we require that the pdf is rendered in the page, and the user is not required to download the file or navigate to a new window (popup, new tab, etc).
One of the solutions mentioned was to use an iframe but this is not ideal as it would weaken the security on the site and it still will not allow for files from the sys_attachment table to be rendered.
Has anyone attempted anything similar to this or have a recommendation as to how we might achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2025 08:55 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader