Plat-Dev-201 practice question 18 of 30

What can be used to override the Account's standard Edit button for Lightning Experience?

Full set: 204 questions
Answer options
A: Lightning action Correct answer
B: Lightning page
C: Lightning component
D: Lightning flow
Correct Answer:
A. Lightning action
Explanation

In Lightning Experience, a Lightning Action, specifically an "Update a Record" object-specific quick action, is a declarative method to provide users with a custom interface for editing records. This action can be added to the object's page layout in the "Salesforce Mobile and Lightning Experience Actions" section. While a custom Lightning Component can also be used to formally override the standard 'Edit' button via the "Buttons, Links, and Actions" settings, creating a Lightning Action is a common and powerful declarative alternative that effectively replaces the standard edit functionality with a tailored user experience.

Why Incorrect

B. Lightning page: A Lightning Page (e.g., a Record Page) is a container for components and cannot be used to directly override a standard button's functionality.
C. Lightning component: While a Lightning component can be used to override the button, a Lightning Action is a more specific and often declarative choice for this use case.
D. Lightning flow: A Flow can provide the logic for an edit process, but it must be surfaced through another element like a Lightning Action or a component to override a button.

References

1. Salesforce Help, "Create Object-Specific Quick Actions". This document details how to create "Update a Record" actions, which provide a custom UI for editing.

2. Salesforce Developers, Apex Developer Guide, "Actions". The guide describes different types of actions, including object-specific actions that can be used to customize the user interface in Lightning Experience.

3. Salesforce Help, "Actions in Lightning Experience". This page explains how actions appear in the UI, including the highlights panel where the 'Edit' button is located, and how they are controlled by the page layout.

Scroll to Top