Hide Attachments in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2017 09:41 PM
Hi there,
We're looking at hiding attachments in incidents so our clients cannot view internal attachments. Our internal users however can view these attachments.
To describe the scenario - When an internal user attaches an email or a document in the attachments screen, there is an option where this specfic attachment is for internal visibility only, not visible to the client (ESS user). Our internal users can view the attachment and the client cannot.
I was wondering if there is some functionality around hiding attachments in ServiceNow and if so, it would be great to get some advice on how this has been achieved.
Thanks,
Vimal
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2017 10:36 PM
Hi Shruti,
Thanks for responding to my question.
Just to clarify - it will be for some attachments therefore our clients will still have visibility to attachments that they need to see.
However, there are some attachments that only our internal users can only see so that when an internal user clicks the "attachment" icon, they can choose if the attachment is for internal visbility only. If so, our clients cannot view the attachment.
I hope that explains it
Thanks,
Vimal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2017 10:44 PM
Hi Vimil,
I guess you can restrict it based on tables, but you cant restrict some attachments from incident table and make others visible. Or you can restrict using created field or content type field or file name.
What condition you want to use to restrict attachment?
Shruti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2017 11:58 PM
basically you will have to put such condition as per your requirement, in the read ACL on sys_attachment.
condition flow would be
table -> user type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 03:44 PM
Thanks all, let me get back to you on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2018 06:56 AM
Try the following code in DOM manipulation:
g_GlideUI.topWindow.addClassName('header_add_attachment','hide');
The above does not work when the form is opened along with navigation window, so try the following, it works everywhere:
$j_glide('button[id="header_add_attachment"]').hide();