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.

How to change colour in activity stream for custom field

ravichanduk
Mega Expert

Hi all,

Anyone having idea to change the colour of custom field in activity stream i know worknotes and comments but for our own filed how can we change

by default how it is getting where we can find

find_real_file.png

3 REPLIES 3

Chuck Tomasi
Tera Patron

Go to system UI> field styles, and create a new entry setting background color with a CSS value similar to what you see below for work.

 

Docs: Define Field Styles

 

find_real_file.png

 

Hi that functionality is working for field background colour but doesn't reflect in activity stream

I know this thread is old, but i just stumbeled upon the same problem. The solution that worked for me (Orlando release) was adding a new property for my custom field.

I created it by going to one of the two existing properties for the activity stream:

glide.ui.activity_stream.style.work_notes

then changing the name to my field (glide.ui.activity_stream.style.u_work_notes) and changing the value to my desired color. 
Saved the record by using INSERT or INSERT AND STAY. Make sure to not overwrite the OOTB work note property.