Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Configuring New Project Workspace: remove button & column configuration

PaulaaO
Mega Sage

Hi Developer Community 🙂

 

Sorry for duplicating but I'd really appreciate your advice on my current challenge to make some configurations in the New Project Workspace => Configuring New Project Workspace: remove button &... - ServiceNow Community

 

I am struggling to identify the correct components via which I could achieve the following:

 

a.  Remove the New button from one of the Related lists in the New PW - Details page. I managed to do it in the Classic form but it still appears in the New PW. I had a look in the UI Builder to try and identify it, with no luck

 

b. Add a few more options in the Column Configuration area in the Planning page. I know about the official docs which mention amending the list layout of the Project Tasks in the Workspace view, but what I am after is adding options to be selected, not to "force" what columns get displayed when the user navigates to the PW.

 

PaulaaO_0-1732702115285.png

 

I reviewed quite a few posts and articles from the Community but I still haven't come across the exact solutions I need.

 

If you have any ideas on the above, I'd very much appreciate it !!

 

Thanks,

Paula

1 ACCEPTED SOLUTION

Harsha Lanka
ServiceNow Employee
ServiceNow Employee

 

a) Hiding the "New" Button in Related List

To hide the "New" button in a related list, please follow these steps:

  1. Navigate to Related List Actions:

    • From the left-hand side navigator, go to All and select Related List Actions.
  2. Check for an Existing Record:

    • If a record already exists for the relevant table, open it in Advanced View and In conditions section, add a Script Condition to return false conditionally based on your requirements.
    • If no record is available by default, create a new Action Record with the action name "create-new-uxf". Then, in the Advanced View, add a Script Condition in conditions section to return false conditionally.

b) Configuring Columns in Project Workspace

By default (OOB functionality):

  • After adding columns to the List Layout of Project Tasks in the Project Workspace view, these columns become available in the Column Configuration Panel.
  • While these columns will initially display by default, users can manually uncheck them in the configuration panel to hide them from the Planning page.

View solution in original post

6 REPLIES 6

@PaulaaO i gave something like current.parent.state == '3' it didn't work is the way i checked was right?

Hm..I expected for the Client conditions to give you the option to choose the field but just checked by PDI and it doesn't. I had a look into these 2 Action Assignments and can see that in the Advanced view now you have the option to input Record condition, maybe this could work?

https://[instance].service-now.com/nav_to.do?uri=sys_declarative_action_assignment.do?sys_id=7ecde8c...

 

https://[instance].service-now.com/nav_to.do?uri=sys_declarative_action_assignment.do?sys_id=d1ff82f... 

PaulaaO_0-1761650094668.png