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 CRT-450 Topic 8 Question 37 Discussion

Actual exam question for Salesforce's CRT-450 exam
Question #: 37
Topic #: 8
[All CRT-450 Questions]

A developer is creating a page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default Opportunity record type, and set certain default values based on the record type before inserting the record.

How can the developer find the current user's default record type?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Coleen
2 days ago
Haha, option A is like the developer saying, 'Hey, I'm just going to create the opportunity and see what happens!' Not very efficient.
upvoted 0 times
...
Roslyn
5 days ago
I'm not sure about option C. Using the schema.Userinfo.Opportunity.getDefaultRecordType() method doesn't sound right to me. Seems a bit too specific.
upvoted 0 times
...
Vilma
6 days ago
Option B seems like the way to go. Querying the Profile and using the getDefaultRecordType() method is a pretty straightforward approach.
upvoted 0 times
...
Karl
8 days ago
Hmm, that makes sense too. It's important to consider all options before making a decision.
upvoted 0 times
...
Felix
11 days ago
I disagree, I believe the answer is A. By checking the opportunity record type, we can easily find the default one.
upvoted 0 times
...
Karl
24 days ago
I think the answer is D, because it mentions iterating through record types until finding the default one.
upvoted 0 times
...

Save Cancel