You need to sign in to do that
Don't have an account?
Yamini Bathula
lightning action for javascript button for lead conversion
Hi Guys,
we are planning to move to lightning next month. We do have a couple of javascript buttons on the classic version at the moment. I am looking for an alternative to a javascript button for lead conversion. That button checks for some mandatory fields on leads before converting a lead and displays an alert window to fill the mandatory fields.
Would you guys please help me with a lightning alternative for this?
we are planning to move to lightning next month. We do have a couple of javascript buttons on the classic version at the moment. I am looking for an alternative to a javascript button for lead conversion. That button checks for some mandatory fields on leads before converting a lead and displays an alert window to fill the mandatory fields.
Would you guys please help me with a lightning alternative for this?
Take a look at creating a component (and lightning quick action) that utilizes the "lightning:input" component for your lead fields: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/aura_compref_lightning_input.htm
Not only, can you specifiy whether or not a field is required, but this component provides its own validation checking (you can even do stuff like validate phone numbers and email address through regex). If you need to do even more complex validation, you can use the lightning:input's validity attribute as well (an example of this is shown in that URL).
Sorry for the delay in my reply.
How can I redirect it to lead conversion page from Custom Component? Any idea how can this be achived?
Thanks,
Yamini.
Thanks
Yuvika
Did you or anyone figure out how to redirect to lightninh lead conversion page (popap modal) from Custom Component?
Thanks!
Rina