function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Randy BruckRandy Bruck 

Action called From Lightning Component

I have an Action called "New Pledge" with an Action Layout that I want to use. For our Org Pledge=Opportunity. So I am trying to use a Lightning Component to override the "New" button on the Pledge(Opportunity) object. It would be great if the component could do the New Pledge action. 
ANUTEJANUTEJ (Salesforce Developers) 
Hi Randy,

I found a similar question where one of the person wanted to invoke a quick action from a lightning component which I think is similar to your scenatrio.

Please find the link to the discussion below:

https://developer.salesforce.com/forums/?id=9060G0000005nLsQAI

In case if this was helpful I would request you to please mark this as the best answer.

Regards.
Anutej.
Randy BruckRandy Bruck
I did see the same thing. I tried doing this, not sure if I have it set up right. Or, maybe it doesn't work with Lightning actions.