Customize cards on New Project Workspace

jarago
Tera Contributor

Hello!

Does anyone know if it's possible to make changes to the cards on the New Project Workspace? For instance, I'd like to add the State field onto the card. I've been looking in UI builder and I haven't been able to find anything.

Thank you!

8 REPLIES 8

Hi Damian,
No, from what I've researched it seems like this is not possible.

Damian Martinez
Mega Sage

Hello @jarago 

looks like it is setup here:

https://yourinstance.service-now.com/now/nav/ui/classic/params/target/sys_ux_composite_data_template...

I can remove for example status field, but for example if I want to add state or number it does not work for some reason.

I might open a case with servivenow support.

Regards.

Damian Martinez
Mega Sage

Hello everyone,

please see my solution in this post:

https://www.servicenow.com/community/developer-forum/how-can-we-add-more-fields-on-evam-data-set-car...

This worked for me.

Regards

TroySasso
Tera Expert

Hi everyone!  This is possible but tricky as it will involve Widget with likely CSS modification and script include modification.  This is a customization so use caution.  KB Article below:

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2609147

*****************************************************

How to customize the Project Cards in Project Workspace

 

Issue

In older Project Workspace versions, the Project Cards on the Home Page could be altered with the corresponding "View Template" (sys_ux_composite_data_template) record.

This has since changed and now it requires and overridden Script Include to reflect the changes.

Release

Project Workspace (sn_pw)

Resolution

Follow the below steps to get this set up:

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


The world works with ServiceNow.