I have a account page in Salesforce where I want to display a text message on the top of the page. I tried to achieve the functionality but it always displays the message near the buttons. Below is the screenshot. enter image description here


I suppose you are talking about standard page layout ? If so, it possible to display error message near related field or near buttons. if you want to display messages in other places, you need to override standard layouts with custom VF page.

For the reference check example


If the message is static use a new section if dynamic use inline VF page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.