Delete or Disable "Delete" button in Form for custom table extended from Task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2016 01:53 AM
A table of a custom application is extended from Task table. When I apply the workflow for this table, button "Delete" is always shown up by default. Is there anyway that we can disable this button just in scope of application. I tried to disable this button using Client Script but this impacts globally. It means "Delete" button will be disappeared in all requests such Incident, Change, CI.... Please advise
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2016 02:59 AM
Go To UI action, search for name "delete". In condition field add like, "current.sys_class_name = 'table_name_here'. If you want to remove the same for user specific then you can do the same by delete ACL.
Thaks,
Param
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2016 03:14 AM
One way to hide global UI Actions is to create your own with the same action name and put a condition on it that it will never show, then you hide the global button as well and you don't need to edit the global one either. Might need to keep your ui action at a lower order to make it work as well.
//Göran