Hide new button from related list in enterprice architecture workspcae

swapnali ombale
Kilo Sage

20250630_164240.jpg

20250701_131847.jpg

 

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 

 

6 REPLIES 6

Hi @swapnali ombale 

 

I suggest use the condition field in List control rather modifying ACL. something like below

!gs.hasRole('ap,m_user') && !gs.hasRole('apm_admin')

 

maddula_0-1751739103977.png

If my response solves your query, please marked helpful by selecting Accept as Solution and Helpful

Community Alums
Not applicable

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.