Hi Ravi, you can use your custom action button in the lightning component by using onclick attribute of the lightning button. put the name of your custom function like as onclick="{!c.function_Name}" and provide the definition of the function in the controller (In JS file) according to requirements. Check this link out maybe it will help you --> https://trailhead.salesforce.com/en/content/learn/modules/lex_dev_lc_basics/lex_dev_lc_basics_controllers
--------------- If you find your Solution then mark this as the best answer.
Hi Ravi, check out this link maybe it will help you --> https://salesforce.stackexchange.com/questions/221217/how-to-fire-global-action-from-a-lightning-component
you can use your custom action button in the lightning component by using onclick attribute of the lightning button.
put the name of your custom function like as onclick="{!c.function_Name}" and provide the definition of the function in the controller (In JS file) according to requirements.
Check this link out maybe it will help you -->
https://trailhead.salesforce.com/en/content/learn/modules/lex_dev_lc_basics/lex_dev_lc_basics_controllers
---------------
If you find your Solution then mark this as the best answer.
Thank you!
Regards,
Suraj Tripathi
I want use action button of custom object inside lightning component.
Thanks,
Ravi
check out this link maybe it will help you -->
https://salesforce.stackexchange.com/questions/221217/how-to-fire-global-action-from-a-lightning-component
Thank you!
Regards,
Suraj Tripathi