Sys_attachment is getting downloaded instead of just opening up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
My requirement is to just open/view the sys_attachment type in ESC portal where the field is visible when user click on the attachment link it must open up aa popup or may be in new tab.
Existing it is getting download, when user clicks on the attachment link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
Hi @ShivangiC
It depends on where attachment is located in portal. Ex article attachments will open in new tab without download.
Where exactly you are adding attachment/field in portal.
If this helped to answer your query, please mark it helpful & accept the solution.
Thanks!
Krishnamohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
how are you showing/rendering that link in portal?
You can enable document viewer on the table where file is stored (example INC or CHG) and include this in the URL so that it shows preview and doesn't auto download
URL will look like this -> so that file is viewed
/sys_attachment.do?sysparm_referring_url=tear_off&view=true&sys_id=feef3f17fb3b22500db5f8454eefdcb8
Note: Remember only limited file types can be previewed
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
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