function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BA_AdminBA_Admin 

Highlighting the case wtih colors based on priority..

Hi All,

    Is there any way to highlight the case priority picklist fields based on that picklist values.

For example :

 

priority : High then red

priority : Medium then yellow.

 

TIA1

Best Answer chosen by Admin (Salesforce Developers) 
Steve :-/Steve :-/

There's an example on page 18 of the Formula Guidebook  

https://na1.salesforce.com/help/doc/en/salesforce_useful_formula_fields.pdf

 

 

Flags for Case Priority
This formula displays a green, yellow, or red flag image to indicate case priority.
IMAGE(
CASE( Priority,
"Low", "/img/samples/flag_green.gif",
"Medium", "/img/samples/flag_yellow.gif",
"High", "/img/samples/flag_red.gif",
"/s.gif"),
"Priority Flag")

 

All Answers

Steve :-/Steve :-/

You mean displaying a color image on the Case or changing the color of the Text?

BA_AdminBA_Admin

I knw you would definitely reply :) well anything would be fine, but the only reason i want this is bcz in the list view if i have some hundred of cases then it would be nice to highlight the whole line to red if the case has high priority so that it would be easy to find out the cases with high and medium priority, does this make sense?

Steve :-/Steve :-/

There's an example on page 18 of the Formula Guidebook  

https://na1.salesforce.com/help/doc/en/salesforce_useful_formula_fields.pdf

 

 

Flags for Case Priority
This formula displays a green, yellow, or red flag image to indicate case priority.
IMAGE(
CASE( Priority,
"Low", "/img/samples/flag_green.gif",
"Medium", "/img/samples/flag_yellow.gif",
"High", "/img/samples/flag_red.gif",
"/s.gif"),
"Priority Flag")

 

This was selected as the best answer
BA_AdminBA_Admin

yea i was looking at this before but is there any way to highlight the whole row to red if it is high or atleast highlight the "High" in red instead of adding this formula field to the list view?