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 color of Requested by field value to Red on Problem

SnehaSaran15
Tera Contributor

I have a requirement to change the value of Requested By field value to Red if the user is VIP user(similar to Caller Id on incident). I have tried several things on onLoad client script as well as style but it is not working.

Please help.

Thanks in advance.

SnehaSaran15_0-1686565016876.pngSnehaSaran15_1-1686565080494.png

 

2 REPLIES 2

Karan Chhabra6
Mega Sage

Hi @SnehaSaran15 ,

 

Do you want to change the color on form view and list view both?
Please change the style to:

background-color:red;

 

If my answer has helped with your question, please mark it as correct and helpful

 

Thanks!

I want to change the color of text(value) in the reference record. It is not working with style since I have a condition of Vip for user is true. Yes I need for both list and form view. Similar to below screenshot

SnehaSaran15_0-1686569422116.png