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:

Valentin
3 days ago
Option C is the clear winner here. It's like the validation rule version of 'plug and play'!
upvoted 0 times
...
Yoko
6 days ago
A? What kind of custom controller attributes are we talking about here? Sounds like a lot of unnecessary work.
upvoted 0 times
...
Kimbery
9 days ago
D? Really? Why would you use database.unsert() for this? That's just asking for trouble.
upvoted 0 times
...
Jeanice
16 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
25 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
12 days ago
I agree, using is the best way to display validation rule violations.
upvoted 0 times
...
...
Sina
27 days ago
I'm not sure, but maybe adding custom controller attributes could also work to display the message.
upvoted 0 times
...
Kristeen
1 months ago
I agree with Dorcas, using would be the best way to display validation rule violations.
upvoted 0 times
...
Dorcas
1 months ago
I think the developer should include on the Visualforce page.
upvoted 0 times
...

Save Cancel