Questions about Field Styles (table sys_ui_style)

GeoffreyOptumOp
Tera Expert

I hate these special User icons and I want to remove them forever:

find_real_file.png

I find the magical sys_ui_style record, as follows:
https://[YourInstance].service-now.com/nav_to.do?uri=sys_ui_style.do?sys_id=0881b9cf5572d1401d4017ac561db583

find_real_file.png

I confirm that this is the right record by switching out "user.gif" with "vip.gif" in the Style box.  I now have this:

find_real_file.png

Since there is no Active flag on these records, I try changing the value field to any/all of the following in an attempt to get the rule to NEVER be applied:

false
{false}
{false;}

javascript:false
javascript:false;
javascript:{false}
javascript:{false;}

javascript:return false
javascript:return false;
javascript:{return false}
javascript:{return false;}

javascript: 1>2
javascript: {1>2}
javascript: {1==2}

NONE OF THIS WORKS!

I then COMPLETELY DELETE the entire sys_ui_style record, and somehow I am now back to where I started!!

find_real_file.png

How is this happening, please???

Thank you.

1 ACCEPTED SOLUTION

GeoffreyOptumOp
Tera Expert

Oh my gosh, I figured this out finally...

What was happening is that there were TWO Styles applied to the Number field, one at the task level and one at the incident level.  When I effectively disabled the one at the Incident level, the one at the task level kicked in!

find_real_file.png

 

View solution in original post

5 REPLIES 5

Community Alums
Not applicable

@GeoffreyOptumOp  I also have a requirement wherein any worknotes added by user ray.william should appear his name in Blue color

I have written below style

Ankur20_0-1697180552423.png