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

Multi currency in Salesforce - Revenue Cloud Advance - Revenue Lifecycle Management

How to get sessionid and salesforce org base url in salesforce

rollup summary with bulk record handling without hitting governer limits