Related link to export PPT Template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2025 06:57 AM
Good day
I have a custom project template that I have created from the PowerPoint templates table in ServiceNow.
I do not want to download the template from the status report export to PowerPoint button.
But instead I want a UI action > related link on the project form. When the user clicks on the related link it should download the custom project template.
Has anyone achieved this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2025 07:12 AM
- Make sure the PPT file is already and sys_attachment table and get its sys_id
- In the Form Link UI Action you created (NOT CLIENT). Please use the following script:
var URL = '/sys_attachment.do?sys_id=SYS_ID_OF_THE_PPT_ATTACHMENT'; // ADD Sys_id of the attachement file
action.setRedirectURL(URL);
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2025 04:04 AM
I hope you are doing well!
Did it work ? Was my reply helpful?
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2025 07:23 AM
what does that OOB related link do?
where is that file stored which you want to download?
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