We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Deactivating New UI action on change request related list under sn_recovery_event table

shubhamvrm2
Tera Contributor

Hi,

I have a requirement to deactivate New UI action under change request related list on sn_recovery_event table.
I am not able to find  source for new button .
How can I achieve this?

 

 

3 ACCEPTED SOLUTIONS

Itallo Brandão
Tera Guru

Hi @shubhamvrm2 ,

You typically cannot find the specific source for that "New" button because it is likely the Global "New" UI Action that applies to all lists. You should not modify the UI Action itself, as it would affect the entire system.

The correct way to hide buttons on a specific Related List is via List Control.

Here are the steps to achieve this:

  1. Open a record in the sn_recovery_event table.

  2. Scroll down to the Change Request related list.

  3. Right-click on the column header of that related list (any column name).

  4. Navigate to Configure > List Control.

  5. In the record that opens, check the box "Omit new button".

  6. Click Update.

Note: If you do not see the "Omit new button" checkbox on the List Control form, you may need to add it via Form Layout first.

Reference: For more details on what else you can control here (like roles or filters), check the official documentation:

If this solves your requirement without scripting, please mark it as Accepted Solution.

Best regards,
Brandão.

View solution in original post

Ankur Bawiskar
Tera Patron

@shubhamvrm2 

Steps

-> Right Click on List Header

-> Configure List Control

AnkurBawiskar_0-1770212268175.png

 

-> Click Omit new button checkbox

OR

-> add admin role to the New button

AnkurBawiskar_1-1770212300807.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

Hi @shubhamvrm2 ,

This is happening because List Control configurations are often View-Specific.

When you configured this via the Column Header in the Native UI, you applied the "Omit new button" setting to the Default view. However, the Workspace loads lists using the Workspace view (or a specific view like sow), so it ignores the setting you made for the Default view.

ItalloBrando_0-1770243510214.png

 



The solution: you also need to apply the configuration we suggested earlier for the Workspace view.

 

If checking the View solves the issue, please mark it as Accepted Solution.

Best regards, Brandão.

View solution in original post

8 REPLIES 8

@shubhamvrm2 

I believe I answered your original question where you shared screenshot for native.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@shubhamvrm2 

For hiding in workspace do this

-> go to Related list actions in left nav

-> search for New button

-> then find the appropriate one

-> add exclusion based on parent or add proper condition and check if parent table is sn_recovery_event 

AnkurB001561062_0-1770262152362.png

AnkurB001561062_1-1770262205485.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@shubhamvrm2 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader