A developer is asked to create a Visualforce page that lists the contacts owned by the current user. This component will be embedded in a Lightning page.
Without writing unnecessary code, which controller should be used for this purpose?
C) Use the standard list controller and an iteration component, such as <apex:pageBlockTable>, to display a list of records.
https://trailhead.salesforce.com/content/learn/modules/visualforce_fundamentals/visualforce_standard_list_controllers
Since we need a list of records, standardListController is answer because we can extend the controller if the query need to be different. Also it comes with ready to use functions for list use case
I think its B, becuase we need filter contacts records by owner. If sharing settings to contacts are set to public - you`ll see all contacts of all owners
This section is not available anymore. Please use the main Exam Page.CRT-450 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
aregas
5 months, 2 weeks agohuwamaru
1 year agotuananhbgbg
1 year agoirina_735
1 year agoKeiyo
1 year, 2 months agoBrucePark
1 year, 4 months ago