To disable "Remove / delete" option in attachment for closed ticket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2015 04:42 AM
Hello,
When any Incident or Change is closed, user should not be able to delete or remove attachment from closed ticket.
Remove / Delete option should be disable on closure of ticket.
Regards,
Shraddha

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2015 04:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2015 05:01 AM
The attachments are rendered from sys_attachment table. You can write an acl on the table with the condition that if the incident state is closed, user shouldn't be able to delete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2022 03:15 AM
can yuu explain this ..?
How I shloud write a code to hide remove option from attachments menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2015 05:07 AM
just write a global onload client script , or if you want it on a particular table then on that table.
g_form.disableAttachments();
var att= gel('header_attachment_list_label');
if(att!=''){
att.style.display = 'none';
}