Lightning component actions are custom actions that
invoke a Lightning component. They support Apex and JavaScript and provide a secure way
to build client-side custom functionality. Lightning component actions are supported only in the
Salesforce mobile app and Lightning Experience.
Required Editions
Available in: both the Salesforce mobile app and Lightning Experience
Available in: Essentials, Group, Professional,
Enterprise, Performance, Unlimited, Contact Manager, and
Developer Editions
You can add Lightning component actions to an object’s page layout using the page layout
editor, or to the global publisher layout using the Global Publisher Layout editor. If you
have Lightning component actions in your org, you can find them in the Mobile & Lightning
Actions category in the page layout editor’s palette.
Lightning component actions can’t call just any Lightning component in your org. For a
component to work as a Lightning component action, it must be configured for that purpose and
implement either the force:LightningQuickAction or
force:LightningQuickActionWithoutHeader interfaces. You
must also set a default value for each component attribute marked as required.
If you plan on packaging a Lightning component action, the component the action invokes must
be marked as access=global.
Create a Lightning Component Action Creating a Lightning component action is similar to creating a regular quick action, and you do it in the same place in Setup. All you need is a Lightning component in your org for the quick action to trigger.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.