5

The Documentation for LWC Quick Actions doesn't make any mention of supported SObjects, or restrictions on the use of LWC Quick Actions for certain object types. However, when I tried to create one for the Asset standard object, I received an error:

Error: Lightning Web Component quick actions are not supported for this entity

enter image description here

Interestingly, the label "Lightning Web Component" changed to "Visualforce Page" and the component name changed to an Id, but that's not really relevant to the issue.

In this instance, I had already built the LWC but couldn't configure it; I ended up having to go a different route. I understand that not all "standard" objects are very standard at all, and that support for new features increases over time. Mostly I'd like to avoid wasted effort. Is there a definitive list of SObject types for which LWC Quick Actions are supported?

1
  • 2
    I could have sworn this was in the documentation somewhere, but I also can't find it now. I do know that the list of supported objects is still really small. It'll probably be expanded in the Winter 22 release. Try it out in a Prerelease sandbox when you get access to it.
    – sfdcfox
    Aug 4, 2021 at 14:05

1 Answer 1

6

Create a Lightning Web Component Action has this documented:

You can create a Lightning web component action for custom objects and for some standard objects.

  • Account
  • Contact
  • Lead
  • Opportunity
  • Case

With the following being noted specifically for Case

IMPORTANT You can add a Lightning web component action to the Highlights Panel of a case record page if you add it as a dynamic action in Lightning App Builder. You can't use the page layout to add a Lightning web component action to the Highlights Panel of a case record.

1
  • 1
    Great find, thanks. I commented on the help page that such info should be in the Developer docs; hopefully that will happen at some point. Jan 5, 2022 at 15:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .