Link that allows users to download the files directly instead of opening them in a new tab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 07:16 AM
We have a requirement in a Record Producer form that includes a Select Box field. Based on the user's selection, a Rich Text Label should dynamically display a corresponding template—one template for a specific option, and a different template for another. Additionally, when the user clicks on any links within the Rich Text Label, the associated file should download directly rather than opening in a new browser tab.
How we can achieve this?
I have tried with widget however it is working for only one template, if the form having multiple templates it won't work. - I am not looking for Widget as a solution.
Please help me!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 01:24 AM
Hello @saketh poola
You can verify whether the URL is downloadable by pasting it directly into your browser's address bar.
If the file starts downloading automatically, the URL is correctly formatted and has the necessary permissions.
If it doesn’t download, it’s likely that either you don’t have access permissions, or the URL hasn’t been modified correctly for direct download.
Hope this helps!
"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"
Thank You
Juhi Poddar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 01:58 AM
Did you get a chance to check my above response and share the thoughts?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader