How can the developer make sure that validation rule violations are displayed?

A developer has a Visualforce page and custom controller to save Account records. The developer wants to display any validation rule violations to the user.
How can the developer make sure that validation rule violations are displayed?
A. Add custom controller attributes to display the message.
B. Use a try/catch with a custom exception class.
C. Include <apex:messages> on the Visualforce page.
D. Perform the DML using the Database.upsert() method.

CRT-450: Salesforce Certified Platform Developer I

Free dumps for CRT-450 in PDF format.

High quality CRT-450 PDF and software. VALID exam to help you pass.

Download Printable PDF. VALID exam to help you PASS.

2 thoughts on “How can the developer make sure that validation rule violations are displayed?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.