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 Practice Questions with 191 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments