<< Prev Question Next Question >>

Question 25/115

Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records.
Which Visualforce feature supports this requirement?

Recent Comments (The most recent comments are at the top.)

Sanjana R - Dec 01, 2024

The correct answer is:
C. Standard controller and the recordSetVar page attribute

The standard controller provides built-in functionality for managing the selected object type, while the recordSetVar attribute enables handling multiple records in a list view or related list.

Example:
<apex:page standardController="Account" recordSetVar="accounts">
<apex:form>
<apex:pageBlock title="Edit Multiple Accounts">
<apex:pageBlockTable value="{!accounts}" var="acc">
<apex:column headerValue="Account Name">
<apex:inputField value="{!acc.Name}" />
</apex:column>
</apex:pageBlockTable>
<apex:commandButton value="Save" action="{!save}" />
</apex:pageBlock>
</apex:form>
</apex:page>

Answer B - Not correct:
If using a custom list controller, the recordSetVar attribute is not applicable, as recordSetVar works with standard controllers.

redcave - Oct 03, 2024

The right answer is A.
We have Standard List Controller and Custom List Controller. Option C is missing the word 'List'.

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (115q)
4 commentQuestion 1: A developer must modify the following code snippet to preven...
Question 2: A custom Visualforce controller calls the ApexPages,addMessa...
Question 3: Where are two locations a developer can look to find informa...
Question 4: A developer created a new trigger that inserts a Task when a...
Question 5: Universal Containers needs to create a custom user interface...
Question 6: A company has been adding data to Salesforce and has not don...
Question 7: A developer observes that an Apex test method fails in the S...
Question 8: What should a developer use to script the deployment and uni...
Question 9: Cloud Kicks Fitness, an ISV Salesforce partner, is developin...
Question 10: A developer is migrating a Visualforce page into a Lightning...
2 commentQuestion 11: Which two statements are true about using the @testSetup ann...
3 commentQuestion 12: A developer wrote an Apex method to update a list of Contact...
3 commentQuestion 13: A developer needs to implement a custom SOAP Web Service tha...
Question 14: A Lightning component has a wired property, searchResults, t...
2 commentQuestion 15: Which annotation should a developer use on an Apex method to...
Question 16: Universal Containers has a Visualforce page that displays a ...
Question 17: When using SalesforceDX, what does a developer need to enabl...
Question 18: What writing an Apex class, a developer warts to make sure t...
Question 19: Refer to the code snippet below: (Exhibit) When a Lightning ...
1 commentQuestion 20: A software company uses the following objects and relationsh...
Question 21: How does the Lightning Component framework help developers i...
Question 22: A developer needs to prevent the creation of Request__c reco...
3 commentQuestion 23: The following code snippet is executed by a Lightning web co...
Question 24: When a user edits the postal Code on an Account, a custom Ac...
3 commentQuestion 25: Universal Containers wants a list button to display a Visual...
Question 26: A development team wants to use a deployment script to autom...
2 commentQuestion 27: A developer identifies the following triggers on the Expense...
Question 28: An org tracks customer orders on an Order object and the ite...
4 commentQuestion 29: Universal Containers wants to automatically assign new cases...
Question 30: A developer deployed a trigger to update the status__c of As...
3 commentQuestion 31: Which two scenarios require an Apex method to be called impe...
Question 32: Universal Containers decides to use exclusively declarative ...
4 commentQuestion 33: A developer is tasked to perform a security review of the Co...
Question 34: Which aspect of Apex programming is limited due to multitena...
Question 35: A developer created a Lightning web component called statusC...
Question 36: Which Lightning Web Component custom event property settings...
Question 37: When the code executes, a DML exception is thrown. How shoul...
2 commentQuestion 38: What is an example of a polymorphic lookup field in Salesfor...
Question 39: A primaryid_c custom field exists on the candidate_c custom ...
Question 40: An Opportunity needs to have an amount rolled up from a cust...
Question 41: Which statement describes the execution order when trigger a...
4 commentQuestion 42: What is the result of the following code snippet? (Exhibit)...
Question 43: A developer is asked to prevent anyone other than a user wit...
2 commentQuestion 44: Which three Salesforce resources can be accessed from a Ligh...
4 commentQuestion 45: A developer must perform a complex SOQL query that joins two...
1 commentQuestion 46: AW Computing tracks order information in custom objects call...
7 commentQuestion 47: What are three characteristics of change set deployments? Ch...
Question 48: Universal Container* decides to use purely declarative devel...
6 commentQuestion 49: A developer created a child Lightning web component nested i...
6 commentQuestion 50: A Developer Edition org has five existing accounts. A develo...
1 commentQuestion 51: A developer at AW Computing is tasked to create the supporti...
Question 52: A team of developers is working on a source-driven project t...
Question 53: Given the following Apex statement: (Exhibit) What occurs wh...
Question 54: A developer is writing tests for a class and needs to insert...
Question 55: Universal Containers has a Visualforce page that displays a ...
3 commentQuestion 56: What are three considerations when using the @InvocableMetho...
3 commentQuestion 57: A business has a proprietary Order Management System (OMS) t...
Question 58: A software company is using Salesforce to track the companie...
2 commentQuestion 59: A developer has a Apex controller for a Visualforce page tha...
Question 60: A developer must create a DrawList class that provides capab...
Question 61: A developer created these three Rollup Summary fields in the...
Question 62: Universal Containers hires a developer to build a custom sea...
6 commentQuestion 63: A company has a custom object, Order__c, that has a required...
2 commentQuestion 64: Cloud kicks has a muli-screen flow its call center agents us...
3 commentQuestion 65: A developer is tasked with building a custom Lightning web c...
3 commentQuestion 66: A company decides to implement a new process where every tim...
4 commentQuestion 67: What are two considerations for deploying from a sandbox to ...
Question 68: Given the following code snippet, that is part of a custom c...
Question 69: What are two characteristics related to formulas? Choose 2 a...
Question 70: A developer wants to get access to the standard price book i...
Question 71: What should a developer do to check the code coverage of a c...
3 commentQuestion 72: A developer must implement a CheckPaymentProcessor class tha...
Question 73: A developer wants to mark each Account in a List&lt;Account&...
Question 74: A developer created a Visualforce page and custom controller...
3 commentQuestion 75: In the Lightning UI, where should a developer look to find i...
Question 76: The values 'High', 'Medium', and 'Low' are Identified as com...
Question 77: Universal Containers recently transitioned from Classic to L...
Question 78: A developer created this Apex trigger that calls Myclass.myS...
Question 79: A credit card company needs to implement the functionality f...
4 commentQuestion 80: Which three statements are true regarding custom exceptions ...
Question 81: Which salesforce org has a complete duplicate copy of the pr...
4 commentQuestion 82: A developer migrated functionality from JavaScript Remoting ...
2 commentQuestion 83: Which three code lines are required to create a Lightning co...
5 commentQuestion 84: A team of many developers work in their own individual orgs ...
2 commentQuestion 85: For which three items can 2 trace flag be configured? Choose...
3 commentQuestion 86: Ursa Major Solar has a custom object, serviceJob-o, with an ...
Question 87: Universal Containers has an order system that uses an Order ...
3 commentQuestion 88: What are three capabilities of the &lt;ltng : require&gt; ta...
Question 89: What should be used to create scratch orgs?...
Question 90: A developer creates a batch Apex job to update a large numbe...
3 commentQuestion 91: Developers at Universal Containers (UC) use version control ...
Question 92: Universal Containers wants to back up all of the data and at...
Question 93: A developer is creating an app that contains multiple Lightn...
Question 94: Which three steps allow a custom SVG to be included in a Lig...
Question 95: Which three data types can a SOQL query return? Choose 3 ans...
Question 96: Assuming that naze is 8 String obtained by an &lt;apex:inpot...
Question 97: Which action causes a before trigger to fire by default for ...
Question 98: A developer Is Integrating with a legacy on-premise SQL data...
Question 99: Which two events need to happen when deploying to a producti...
Question 100: A developer must write anApex method that will be called fro...
Question 101: A developer wrote Apex code that calls out to an external sy...
3 commentQuestion 102: Which Lightning code segment should be written to declare de...
3 commentQuestion 103: Universal Containers has developed custom Apex code and Ligh...
Question 104: A Salesforce Administrator is creating a record-triggered fl...
Question 105: Universal Containers has a Visualforce page that displays a ...
Question 106: The sales management team at Universal Container requires th...
Question 107: Which three resources in an Azure Component can contain Java...
Question 108: A developer considers the following snippet of code: (Exhibi...
Question 109: Universal Containers stores the availability date on each Li...
Question 110: A developer Is Integrating with a legacy on-premise SQL data...
Question 111: A developer at Universal Containers is taked with implementi...
1 commentQuestion 112: Cloud kicks has a multi-screen flow that its call center age...
1 commentQuestion 113: A developer needs to allow users to complete a form on an Ac...
1 commentQuestion 114: A developer is debugging the following code to determinate w...
2 commentQuestion 115: When importing and exporting data into Salesforce, which two...