Disable renaming attachment

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2016 11:17 PM
Hi, is it possible to disable the renaming of the attachment?
Because i have disabled the attachment when the request is closed. using g_form.disableAttachments();
The g_form.disableAttachments(); works but I can still rename the attachment.
Is there any way to disable that?
Here is a sample screenshot:
Thanks,
Tadz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2016 11:28 PM
Hi Cris,
You want to disable [rename] link of attachment globally in your instance or in a specific table?
Thanks,
Mihir

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2016 11:38 PM
Hi Mihir,
If possible in the specific catalog item only.
Is there a solution for a specific table?
Maybe we can dotwalk it to the catalog item
Thanks,
Tadz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2016 11:56 PM
You can disable this rename link globally by modifying below ui page and macro.
UI macro: attachment_entry
UI page: attachment
Thanks,
Mihir

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2016 11:30 PM
This is a hack and I am not aware of a better way to do this.
jQuery("a.attachment:contains('[rename]')").hide();