How to hide options in the drop down of "Actions on selected rows"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 06:01 AM
Hello!
I am looking for a way to hide the "Delete" and "Delete with preview" options from the "Actions on selected rows" section on the "Affected CIs" tab of a normal change when the change is in the Authorize / WIP state.
Please suggest any ideas!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 06:13 AM
Hello @Swati36
Goto the UI Action and search for these buttons and then use conditions that if current.state !='authorized'.
Please note while searching for the ui action you have to search for the "Affected CI" table.
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 06:14 AM
Hi Swati,
These actions are the UI actions. You can see these UI Action records in System UI > UI Action module.
To control the visibility of these UI actions you need to modify the conditions of these UI Actions as these actions are global action please be careful.
If your conditions are too long, I will suggest you to please create a Script Include and call it in conditions field of UI action as this condition field is server side.
If my answer helps then please mark it Helpful or Correct!
Thanks,
Utpal
