Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Style background-color won't apply on list when field is empty

staceyrocheleau
Kilo Guru

I've created some style entries for a field. One is set to true based on a condition of another field and these styles get applied correctly on the form view.

On the list view, if the field is empty, the style is not applied.If I view the form, it is applied.

Field: blank

Style not applied in list view (background-color)

Style applied in form view

Field: value

Style applied in list view

Style applied in form view

I really want these fields to appear greyed out on the list view. Just a side note that they are also restricted by an ACL for write access but only show as greyed out by the default style (being read only) on the form view.

The issue is that I WANT the field to be blank AND greyed out in the list view when it is read-only.

12 REPLIES 12

Can`t we use same ACL condition on field style? I have never tried, though.


Carla6
Kilo Contributor

I'm experiencing a similar issue - did you ever find a resolution or workaround for this?

pmenon30580
Giga Contributor

https://hi.service-now.com/kb_view.do?sysparm_article=KB0584393

 

A known error exists in servicenow database