- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2022 11:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2022 12:39 AM
Hi,
UI macros won't work on portal they work only on native view
For portal you can create custom widget and mention it in the Widget field
Widget HTML you can add this
<p><a href="/sys_attachment.do?sys_id=7e594933db1f0910c9218f67059619fa" title="Click Here to Download the Attachment">Click Here to Download the Attachment</a></p>
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2022 12:39 AM
Hi,
UI macros won't work on portal they work only on native view
For portal you can create custom widget and mention it in the Widget field
Widget HTML you can add this
<p><a href="/sys_attachment.do?sys_id=7e594933db1f0910c9218f67059619fa" title="Click Here to Download the Attachment">Click Here to Download the Attachment</a></p>
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2022 01:52 AM
Thank you!! that worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2022 09:29 AM
Thank You @Ankur Bawiskar this helped me to solve similar requirement.
However can we avoid the below prompt message? after we click on download link in this context.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2022 08:54 PM
it must be coming from browser since you are leaving from that page and have some unsaved changes in form
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader