PDI · Question #113
What can be used to override the Account's standard Edit button for Lightning Experience?
The correct answer is B. Lightning component. In Salesforce Lightning Experience, standard button overrides on objects such as the Edit button on Account must be implemented using a Lightning component (either an Aura component or a Lightning Web Component). When you override a standard action with a Lightning component…
Question
What can be used to override the Account's standard Edit button for Lightning Experience?
Options
- ALightning action
- BLightning component
- CLightning page
- DLightning flow
How the community answered
(32 responses)- B91% (29)
- C3% (1)
- D6% (2)
Explanation
In Salesforce Lightning Experience, standard button overrides on objects such as the Edit button on Account must be implemented using a Lightning component (either an Aura component or a Lightning Web Component). When you override a standard action with a Lightning component, Salesforce replaces the default behavior with your custom component's logic and UI. A Lightning Action (choice A) is a quick action that appears in action bars but cannot override the standard Edit button. A Lightning Page (choice C) defines the layout of a record page but does not override individual buttons. A Lightning Flow (choice D) can be surfaced via a component or action but is not itself a valid override target for standard buttons.
Topics
Community Discussion
No community discussion yet for this question.