Newer Version Available

This content describes an older version of this product. View Latest

Create a Quick Action with an LWC

To create a Quick Action with an LWC, the LWC must have a target of type lightning__RecordAction defined in the component’s meta.xml file:

After a component is deployed to Salesforce, create a Quick Action that uses it. For details, see Quick Actions in the Lightning Web Components Developer Guide.

You don’t need to add Quick Actions to a page layout to see it in Test Harness. The Test Harness app automatically shows all LWC-based Quick Actions for the displayed sObject type.

Tip