How to display error message at the top of page in Salesforce from Apex? (I'm not using Visualforce)
Take the 2-minute tour
×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.
You can display error messages using the addError method on sobject or its fields. Salesforce docs on the sobject instance addError method: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_System_SObject_addError.htm More info on exception handling: http://wiki.developerforce.com/page/An_Introduction_to_Exception_Handling |
|||||||||||||
|