You need to sign in to do that
Don't have an account?
Sagar Bhatia
Get quick Action name on lightning component
Hi,
I have a lightning component called InvoiceGenerator. Which is programmed to generate invoice PDF / send an Email with PDF . My requirement is to call the same component from two different Quick Actions, So I want to differentiate between the actions as which one is PDF and Send Email. I cannot create a new component and pass a parameter for IsPDF. Need to do in a single component itself.
Basically, I need to know which quick action was pressed so that I can make sure my code is processed as per request.
I have a lightning component called InvoiceGenerator. Which is programmed to generate invoice PDF / send an Email with PDF . My requirement is to call the same component from two different Quick Actions, So I want to differentiate between the actions as which one is PDF and Send Email. I cannot create a new component and pass a parameter for IsPDF. Need to do in a single component itself.
Basically, I need to know which quick action was pressed so that I can make sure my code is processed as per request.