Exam4Training

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 violation to the user.

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

Answer: B

Latest PDI Dumps Valid Version with 191 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version