Hide a new button in a related list

Cirrus
Kilo Sage

Our requirement is this:

In project workspace we have two related lists, both on pm_project_task table - one is filtered by parent, the other by top project. We dont want users to be able to create new tasks from the top project related list, as it creates them with an incorrect top project.

Obviously we can Omit New on the list control view in the back end, but this doesnt hide the new button in workspace. This appears to be controlled by a UX Declaritive Action 'New' in global. If I set active = false it removes new from both related lists. The following article suggests to create an action exclusion on the pm_project_task table, but again this would hide it for both related lists.

 

https://www.servicenow.com/community/spm-forum/configuring-new-project-workspace-remove-button-amp-c...

 

Does anyone know how we could remove the new option for just the related list filtered by Top Project??

4 REPLIES 4

RakeshM49470519
Giga Guru

Hello @Cirrus ,
 Try to hide using client conditions

 
 

Screenshot 2026-03-26 at 4.17.41 PM.png


regards
Rakesh

Tanushree Maiti
Tera Sage

Hi @Cirrus 

 

Check the steps mentioned in the following post. If it helps.

 

https://www.servicenow.com/community/developer-forum/configuring-new-project-workspace-remove-button...

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Ankur Bawiskar
Tera Patron

@Cirrus 

I could see only 1 Related List with Parent filter

which other you are referring?

55.png

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

Ankur, we are also using the top_task filter. On pm_project table record, configure related list. You should see Project Task - > Top Project