How to display flag in salesforce record detail page -

1.) Create a formiula field to dispaly image

2) field return type is text

3) formula as --------> IF(ISPICKVAL(fieldapiname,"field value"), IMAGE("/img/samples/flag_green.gif","Green Flag"), IMAGE("/img/samples/flag_red.gif", "Red Flag"))


4) if  feild value is "field value" then it will display green flag or it will display red flag.



Comments

Popular posts from this blog

Create the Callout Step in DRO - Salesfroce - Dynamic Revenue Orchestrator

Apex Triggers - 15 (Amazon Interview Question)

Apex Triggers - 16 (TCS Interview Question)