Hide new button from related list in enterprice architecture workspcae
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2025 10:24 AM - edited 07-01-2025 10:25 AM
I have a table cmdb_ci_business_process in that there is related list location(sn_wsd_workspce_location) there is new button showing need to hide that I have checj list control but it is not showing when I right click on header form of related list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2025 11:12 AM
I suggest use the condition field in List control rather modifying ACL. something like below
!gs.hasRole('ap,m_user') && !gs.hasRole('apm_admin')
If my response solves your query, please marked helpful by selecting Accept as Solution and Helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2025 07:45 AM
Hi @swapnali ombale ,
Hiding the New button on a related list is a pretty common requirement, but there are a few things to check because the options can differ depending on the table and how it’s configured.
Here’s what I’d suggest (step by step):
✅ 1. Check the related list setup carefully:
Go to the form where the related list is configured (in this case, cmdb_ci_business_process).
Right-click the related list header → see if List Control appears.
If it doesn’t, sometimes it’s because the related list is using a Many-to-Many (M2M) table or it’s coming from a relationship rather than a direct reference.
List controls work only on direct one-to-many relationships. If it’s M2M or a relationship, the List Control won’t show.
✅ 2. Use UI Policy or ACL carefully:
Hiding the New button at the UI level isn’t always the cleanest solution, but sometimes it’s enough.
If the button is coming from the New UI Action, check if there’s a UI Action with Form Button or List Button type on the sn_wsd_workspce_location table.
You could write a small UI Policy or Client Script scoped to that form view to hide the button if needed.