Prevent download of attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2016 03:56 AM
I have a form with a "Manage Attachments" link and a "[view]" link to a document attached. The view link opens in a new window so the user can see the document which is fine. But the "Manage Attachments" link downloads the attached document to the users pc and I want to prevent that.
How can I disable this ?
Is it possible to remove the "Manage Attachments" link and just leave the "view" link on the form ?
Thanks
/Kim
- 6,045 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2016 04:00 AM
Hi Kim,
Not really. In many cases, the file may not be viewable by the browser (e.g. a ZIP file.) For things like JPG images, it technically already downloaded anyway when you see it in a view window. All the user has to do at that point is right-click and save the image to their hard drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2016 04:31 AM
Hi Kim,
Please check below.
Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.
Thanks,
Deepa
How to hide manage attachments button on record producer
Re: Limit visibility of Manage Attachments button on forms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2016 05:39 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2016 05:43 AM
FYI - The modern way to do that, Akash, is to use g_form.disableAttachments().
GlideForm (g form) - ServiceNow Wiki
That doesn't quite fit Kim's original requirement to only prevent downloading of files. It disables uploads as well.