How to remove the New button on one of the Related Records in SOW

Brett Lindsey1
Tera Contributor

I am trying to figure out how to hide the New button on one the Related Records. See image below. I have figured out how to hide buttons in other places but cant figure out Related Records.

BrettLindsey1_0-1731106010456.png

 

1 ACCEPTED SOLUTION

adityakush24
ServiceNow Employee
ServiceNow Employee

Hi @Brett Lindsey1 
You can inspect the button and find the sys_id of declarative action or UI action.

adityakush24_0-1731310243450.png

Once you have found the sys_id, you can open the record using URL "/sys_metadata.do?sys_id=<sys-id>" or search sys_id in sys_declarative_action_assignment or sys_ui_action table. 
You can then deactivate the record or make changes to other fields of the record(eg. condition) so that it gets hidden on SOW.

Please mark it helpful if it answers your query.

Thanks,
Aditya Kushwaha

View solution in original post

7 REPLIES 7

That got me what I needed. Thanks

Is there a way to only remove the New button from the related list for only one module? When I did your suggestion to remove it from the Change forms related list it also removed it from the Incident forms related list. 

Hi @Brett Lindsey1 , as suggested you can either disable or "change condition" of sys_declarative_action_assignment as per your need. In your case, you can simply open the sys_declarative_action_assignment record and add condition "parentTable is not <table-name>". Please refer screenshot below.

adityakush24_0-1731906460090.png

 

 

Please mark it helpful if it answers your query.

Thanks,
Aditya Kushwaha