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.

change the look of the new project workspace

RyoyaFukuda
Tera Contributor

Hi, all.

Is there a way to change the look of the new project workspace?
In particular, I would like to change the criteria for which projects are displayed in “My project”.


RyoyaFukuda_0-1717395747450.png

 

1 ACCEPTED SOLUTION

Namita Mishra
ServiceNow Employee
ServiceNow Employee

Hi @RyoyaFukuda ,

Thanks for raising the query.

 

Created a recording to showcase the steps.

 

Steps:

EVAM -> View Definitions -> View Configurations

 Screenshot 2024-06-03 at 4.02.58 PM.png

Search the 'Project card' configuration and access it.

3. Project card configuration UI basically shows the condition, database fields, declarative actions along with the view template.

4. Ensure that the field that need to be added on project card is configured in the 'Table Fields'

 

Screenshot 2024-06-03 at 4.07.22 PM.png

5. Once fields are configured, open the template shown in the 'View Template' field and configure the required fields in the mapping and sections.

Screenshot 2024-06-03 at 4.30.37 PM.png

IMPORTANT: There is a limit on number of fields that can be shown on the project card. In case you  are adding additional fields, you need to comment out some of the existing fields.

 

 

 

NOTE: This is considered as customization. Like any other customization, this need to be owned by the implementer / customer.

Hope this helps in answering the query. If it does, please mark the answer as correct response and help other community members.

 

Thank You!

Namita Mishra

View solution in original post

16 REPLIES 16

Hello @mikereaves  see if you find something for your use case in following forum Configuring L2 Menu in Project Workspace - ServiceNow Community

Noah Drew
ServiceNow Employee
ServiceNow Employee

Hello everyone!


It appears that the more recent Project Workspace versions are no longer relying on the View Template records and the values are directly coming from a Script Include.

 

Please attempt the following steps if you are having issues getting this set up in your version of Project Workspace:

 

1. Go to the following Script Include:
https://INSTANCE.service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=ccdb2086f9678210f877826b...

2. Find the "_createCard" function and Copy the entire block of text

3. Now go to this Script Include:
https://INSTANCE.service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=e79b6086f9678210f877826b...

4. On line 3, Paste the copied text

5. Now find the following text, for example, to change the heading:

"name": {
"label": projectGR.getDisplayValue('short_description'),
"size": "sm",
"lines": 2
},

6. You can change "short_description" to whatever you want, like "number".

7. Save the record and see the results

 

Hope that helps!