- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2023 12:03 AM
Hi All,
I want to hide the 'Add' button on the Affected CIs related list for incident table but only in case when certain CI's are selected on the parent incident.
I have checked the UI action and the script include in that but not sure how to customize it for my requirement.
Please help how to achieve it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2023 09:10 PM
Hi @arundharmabe,
Yes, we successfully implemented it. Following are the steps:
1. We updated the condition for the visibility of 'Add' UI action on the 'Affected CIs' (task_ci) table by adding the condition parent.business_service != 'required value'
2. Then to show the 'Edit' UI Action and on that Edit button we wanted to show only 1 CI Class. For this, we updated the 'List Control' on the Affected CI related list on the incident table as shown in the snippet attached.
Result: Whenever a certain CI is selected on an incident, the Add button on Affected CI related list gets hidden and Edit CI becomes visible which will only show configuration items from 1 CI class only.
Please do mark my answer helpful if this has resolved your query so it can help others.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2023 01:56 AM
Hi Tanwir,
Did you implemented any solution for this? I've similar requirement. Can you share the solution which you've implemented.
Regards,
Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2023 09:10 PM
Hi @arundharmabe,
Yes, we successfully implemented it. Following are the steps:
1. We updated the condition for the visibility of 'Add' UI action on the 'Affected CIs' (task_ci) table by adding the condition parent.business_service != 'required value'
2. Then to show the 'Edit' UI Action and on that Edit button we wanted to show only 1 CI Class. For this, we updated the 'List Control' on the Affected CI related list on the incident table as shown in the snippet attached.
Result: Whenever a certain CI is selected on an incident, the Add button on Affected CI related list gets hidden and Edit CI becomes visible which will only show configuration items from 1 CI class only.
Please do mark my answer helpful if this has resolved your query so it can help others.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 03:09 AM
Hi Tanwir,
Did you implemented any solution for this to hide this ADD button in UI action? I've similar requirement. Can you share the solution which you've implemented.