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

Mapping lookup field from lead to contact by custom button.

Hi Guys....


I have custom field in lead called club_name__c which is lookup to Account. i need to map this field into Contact's Accont name field which is also lookup to Account .

that means when i filled the club_name__c in lead and hit on convert button then it will converted to contact and Contact's Account Name filled will be autopopulate whatever i filled in lead..

Any help..


Thanks in Advance...

Ranjeet Singh (SFDC Developer)Ranjeet Singh (SFDC Developer)

did you try to map the field Salesoforce out of the Box 'Map Lead Fields' functionality.

Setup => Customize => Leads => Fields.

you will see 'Map Lead Fields' button under 'Lead Custom Fields & Relationships' section.

Try to map using OOTB funcationality. if it is not possible then you can go through the coding like write the trigger and set the value whatever you want to Map.


Thanks for ur Reply Ranjeet..

 Actually i am using custom convert button on lead detail page not standard button.


And the issue is solved now its working fine..