1

I have a requirement on Loading Standard Opportunity Detail Page, if Opportunity Amount is greater than certain value say 500K i need to display a message on top of page. is it possible without performing any DML operations on the page to get the message. I thought of all possible ways but could not figure it out.

sunny
  • 1,377
  • 6
  • 24
  • 49

2 Answers2

2

The simplest way would be to use a formula field located near the top of the page. Perhaps an image formula, so you could display caution symbol etc.

More info on it here:

link

Davin Casey
  • 4,217
  • 1
  • 20
  • 35
0

You could use JavaScript injected into the standard detail page via a button following this approach Changing the color of a custom button

This method is a workaround and maybe not officially supported. But you can mimic the look&feel, placement and behavior of the message exactly as you require and you will have greater flexibility.

If the look&feel is not crucial you should prefer the method suggested by @DavinC

Uwe Heim
  • 28,350
  • 18
  • 115
  • 283