Salesforce Fact #786 | Invoke quick action from LWC

Suppose we have a use case where we need to invoke a quick action from LWC on button click.

We can implement the same by wrapping the LWC inside an Aura and using lightning:QuickActionAPI.

In this example, we are invoking a Create Record(Contact) quick action from Account detail page.


Attached are the screenshots.









Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow