Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Platform Developer I Topic 8 Question 74 Discussion

Actual exam question for Salesforce's Platform Developer I exam
Question #: 74
Topic #: 8
[All Platform Developer I Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Kimbery
15 hours ago
D? Really? Why would you use database.unsert() for this? That's just asking for trouble.
upvoted 0 times
...
Jeanice
8 days ago
B looks good too, but it's a bit more complex than C. I'd prefer to keep things simple if possible.
upvoted 0 times
...
Gregoria
17 days ago
I think option C is the way to go. The component is designed to display validation rule violations, so it's the most straightforward solution.
upvoted 0 times
Jacquelyne
4 days ago
I agree, using is the best way to display validation rule violations.
upvoted 0 times
...
...
Sina
19 days ago
I'm not sure, but maybe adding custom controller attributes could also work to display the message.
upvoted 0 times
...
Kristeen
22 days ago
I agree with Dorcas, using would be the best way to display validation rule violations.
upvoted 0 times
...
Dorcas
23 days ago
I think the developer should include on the Visualforce page.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77