How to remove "Manage Attachments" button on forms

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2016 12:21 PM
Hello, There is a button "Manage Attachments" that shows up on all forms by default. How can we remove this button from forms? We don't want to accept attachments on forms unless it is a specific use case.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2016 12:27 PM
Add "no_attachment" to the attributes in the dictionary. Go thru section 6 in this link
http://wiki.servicenow.com/index.php?title=Administering_Attachments#gsc.tab=0

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2016 07:53 AM
Thanks... is it possible to do this on a per-item basis? We don't want to disable it on the entire Request Item table. We have some Request Items that we do want to accept attachments, and others that we don't want to accept attachments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2016 12:33 PM
It's a UI macro called 'attachment_entry'. You can probably deactivate it and see if that's what you want.
Cheers,
Tim

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2016 08:06 AM
Yes it should be pretty simple. Write an onLoad client script and check for the conditions and use
g_form.disableAttachments();
http://wiki.servicenow.com/index.php?title=GlideForm_(g_form)#disableAttachments