
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2022 02:52 PM
I hate these special User icons and I want to remove them forever:
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
I confirm that this is the right record by switching out "user.gif" with "vip.gif" in the Style box. I now have this:
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!!
How is this happening, please???
Thank you.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2022 07:17 AM
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2022 02:58 PM
Hi,
Could be a cache issue? Try typing cache.do and pressing enter in left-hand navigation.
Outside of that, just to mention, that appears to be custom development. In an out of box instance, there is no user icon or VIP icon next to the incident number on the left like that.
Otherwise, you could just try and set the condition to never be true, not the script.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2022 07:42 PM
Thanks
But I tried "cache.do" already.
And there is no "condition" field, just a "value" field, which I tried setting to "false" every way I could think of, but that somehow didn't work.
The original value was this:
javascript:current.u_last_updated_by_caller==true

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2022 11:05 AM
Hi,
Sorry, the value field is the condition field for when the style would be enacted.
You may be able to make a "value" that wouldn't ever be true, thus the style won't kick in.
Perhaps oddly, not just typing false, but maybe something like:
javascript:current.u_last_updated_by_caller==1
Which would never be true for a boolean field. Just an idea!
You deleting it and somehow the style being applied like it came back from the grave is definitely weird, but beyond that, try that?
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2022 07:17 AM