How to disable attachments in incident form by using acl?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2017 07:25 AM
can you please provide detail information. thanks in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2017 08:49 AM
While I don't know of a way to do it with ACLs, you can write an onLoad client script on the incident table that does this:
g_form.disableAttachments();
http://wiki.servicenow.com/index.php?title=GlideForm_(g_form)#disableAttachments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 01:36 PM
Hi Chuck Tomasi, I can't open this link starting with https://wiki.servicenow.com ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2017 09:25 AM
If the user doesn't have write access to the table then the user will not be able to attach (and the icon will not be visible).
You can create a READ ACL on the sys_attachment table and this will prevent the user seeing the attachments but will still be able to upload additional ones.
As Chuck said, there is a glideform function that does it, but of course it's only protects from the client side (nothing stopping the user overriding this),
Depending on how serious an issue this potentially is for you, you could implement a business rule and run current.setAbortAction(true) on insert (based on conditions) - this way even if a user knows enough to disable it then it's still prevented
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2021 01:12 AM
Please join the below SERVCENOW INDIA FORUM @Telegram App
This group is focused on growing Servicenow skills/Learning/Quries/Meetups/Certifications/dumps/courses/interview/MockTest etc..
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....