Mark Verderame

Mark Verderame

  • NA
  • 4
  • 519

JSON to show colors on expired items in list

Nov 14 2018 11:19 AM

I want to turn red on items that are expired - to highlight them to staff

 Here is my JSON, it is not highlighting anything.  Expiration is the field name in the record.

{
"schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"CurrentRowClass": "=if([$Expiration] <= '@now', 'style: {color:#ff0000'} ) "
 
 
 

Answers (3)