Salesforce Platform Developer I (legacy) — Question 78
Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records.
Which Visualforce feature supports this requirement?
Answer options
- A. <apex:listButton> tag
- B. recordSetVar page attribute
- C. custom controller
- D. controller extension
Correct answer: B
Explanation
The correct answer is B, as the recordSetVar page attribute allows a Visualforce page to bind to a collection of records, enabling batch editing. The <apex:listButton> tag (A) is used to create a button but does not inherently support editing multiple records. A custom controller (C) and controller extension (D) can add functionality but do not directly facilitate the display of multiple records for editing.