Lightning web component (LWC) actions are custom quick actions that invoke a Lightning
web component. They support JavaScript and provide a secure way to build client-side
functionality. LWC actions are supported only on record pages in Lightning Experience.
Required Editions
Available in: Lightning Experience
Available in: Essentials, Group, Professional, Enterprise,
Performance, Unlimited, Contact Manager, and Developer
Editions
You can add LWC actions to a record’s page layout using Dynamic Actions in the Lightning App
Builder. If you have LWC actions in your org, you can find them in the Lightning Actions category
in the page layout editor’s palette.
For a component to work as an LWC action, it must be configured for that purpose and
implement either the Action or ScreenAction target. For more
information, see Configure a Component for Quick Actions in the Lightning Web Components Developer
Guide.
Note Lightning Web Component actions don't work on external objects because those
objects are built on the Aura framework.
Create a Lightning Web Component Action Creating a Lightning web component (LWC) action is similar to creating a regular quick action, and you do it in the same place in Setup for most supported objects. All you need is an LWC 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.