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
Uttam SaiRajUttam SaiRaj 

Field mapping from custom object to standard object using Button.

Hi all.

I have a requirement like i need to map fields from custom object(Prospect) to Standard Object(Lead) using a Button on Prospect Detail Page, Whenever am converting(using the button), record should be insert into the lead and must delete from prospect.
i want to achieve it in Lightning.

Can any one Suggest/Help me regarding this
Thanks in Advance,
Sai Raj
Raj VakatiRaj Vakati
You need to use lightning quick action actions.

1 . Create an Apex Class with what all data you need to map from   custom object(Prospect) to Standard Object(Lead) 
2 .Create Quick Action/Lightning Actions is an Object-specific action.
3. Add Quick Action to page Layouts 


http://sfdcmonkey.com/2017/04/16/add-lightning-component-lightning-action/
https://salesforce.stackexchange.com/questions/160535/add-button-to-the-footer-of-a-lightning-quick-action-component
https://andyinthecloud.com/2016/08/21/winter17-using-a-lightning-component-from-an-action/