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 IFree dumps for CRT-450 in PDF format.High quality CRT-450 PDF and software. VALID exam to help you pass. |
C is correct answer.
Yes