how to disable rename link of attachment file on form header
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2025 11:54 PM
Hi,
I need to disable rename link of an attachment file when the incident record is not closed.
Is there any way?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2025 12:02 AM
Hi @John91
ServiceNow provides a system property that affects whether users can rename attachments at all:
Navigate to: System Properties > Security
Look for the property:
glide.attachment.rename.enabled
Set it to false
This disables the rename option for all users across the platform.
Thanks,
Vignesh
"If this solution resolves your issue, kindly mark it as correct."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2025 12:25 AM
@John91, Nothing possible OOTB, please refer to the below thread for custom logic.
https://www.servicenow.com/community/developer-forum/block-renaming-of-attachments/m-p/2846775
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2025 12:47 AM
you cannot restrict it based on particular state.
you can use onLoad client script + DOM manipulation to handle this
Note: DOM manipulation is not recommended
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
10-03-2025 01:27 AM
Thank you for marking my response as helpful.
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
