Valid PDI Dumps shared by EduDump.com for Helping Passing PDI Exam! EduDump.com now offer the newest PDI exam dumps, the EduDump.com PDI exam questions have been updated and answers have been corrected get the newest EduDump.com PDI dumps with Test Engine here:
Access PDI Dumps Premium Version
(205 Q&As Dumps, 35%OFF Special Discount Code: freecram)
Recent Comments (The most recent comments are at the top.)
A. Standard list controller
For the given scenario, the developer should use the Standard List Controller provided by Salesforce. This controller allows you to create Visualforce pages that can display a list of records. Since the requirement is to list the contacts owned by the current user, the Standard List Controller is suitable as it can be easily configured to filter records based on ownership without the need for writing custom code.
The Standard List Controller also provides built-in functionality for pagination, sorting, and selection of records, which can be very useful for a list page. The developer can use the `recordSetVar` attribute in the `<apex:page>` tag to specify that the Visualforce page should use the Standard List Controller.
Here is an example of how the Visualforce page might start:
```apex
<apex:page standardController="Contact" recordSetVar="contacts" ...>
<!-- Visualforce code to display the list of contacts -->
</apex:page>
```
In the Visualforce page, SOQL can be used with the `$User.Id` global variable to filter the contacts to those owned by the current user....