How to make changes in context menu
I need to prevent operator from deleting an alarm from the alarm list. Therefore I'd like to remove the ''Delete'' function from the context menu which appears when I right click on an alarm in alarm list. How can I solve this problem?
Voted best answer
You can not remove the "Delete"-verb from the alarm context menu, only disable it.
Per factory default, the "Administrate" permission is required on an object to enable the delete verb.
Only a few items are possible to change on context menus. In practise you are limited to:
a) user roles (e.g. Application Engineer role is required to see "Edit" on graphics)
b) aspect filters to hide certain aspects from being listed, e.g. Log Configurations can be removed for operators.
c) object permission to disable, e.g. Delete from alarm context menu.
Thanks for reply.
In the Aspect System Structure there is operation list for Alarm & Events, so I could change the permission of the DeleteAlarm function from ''Operate'' to ''Administrate'' . And it worked actually. When I connect to the system as operator, ''Delete'' in context menu seems dimmed. However, the customer asked me if we can make disappear ''Delete'' from context menu for operators.