Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

JSON conditional formatting in SharePoint when cells "contain" a value

$
0
0


I am new to using JSON and can not figure out how to conditionally format more than single word answers.

I have a sharepoint column titled "General Pump Condition" that has the following 5 choices from a drop down:

Very Good - Like new

Good - In acceptable working condition

Fair - Requires some attention

Poor - Condition below standard/deteriorating

Very Poor - Unfit for sustained service

I recognize the dashes and backslash could cause problems here. With that in mind I was hoping to format with these 3 rules:

text contains "good" highlights green

text contains "fair" highlights yellow

text contains "poor" highlights red

is anyone able to help with how to write this out? If contains is not an option will I be able to use = to the descriptions above or will the dashes make that impossible?



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>