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
Grant Pestka 4Grant Pestka 4 

Uploaded files not transferring on lead convert

When I convert Leads that have Files attached via the Files related list, those files are lost durining the conversion process.  I want to be able to have them appear in the Files related list of the Contact that the Lead gets converted into.   

Any thought on how to make this work are apreaciated.
SandhyaSandhya (Salesforce Developers) 
Hi Grant Pestka,

Lead Conversion Mapping
 
When you convert a lead, the standard lead fields are automatically converted to the account, contact, and opportunity fields listed below. Custom lead fields are converted to custom account, contact, and opportunity fields as specified by your administrator (see Mapping Custom Lead Fields).
Lead FieldMaps toAddressAccount: Billing Address
Contact: Mailing Address
Annual RevenueAccount: Annual Revenue
CampaignOpportunity: Primary Campaign Source
If the lead has multiple associated campaigns, the most recently associated campaign is inserted into the opportunity regardless of whether the user has sharing access to it.
CompanyAccount: Account Name
Contact: Account
Opportunity: Account Name
Opportunity: Opportunity Name
Company Name (Local)Account: Account Name (Local)
DescriptionContact: Description
Do Not CallContact: Do Not Call
This field is not updated for leads converted to existing contacts.
EmailContact: Email
Email Opt OutContact: Email Opt Out
This field is not updated for leads converted to existing contacts.
FaxAccount: Fax
Contact: Fax
Fax Opt OutContact: Fax Opt Out
First NameContact: First Name
First Name (Local)Contact: First Name (Local)
IndustryAccount: Industry
Last NameContact: Last Name
Last Name (Local)Contact: Last Name (Local)
Lead OwnerAccount: Owner
Contact: Owner
Opportunity: Owner
Lead SourceContact: Lead Source
Opportunity: Lead Source
MobileContact: Mobile
No. of EmployeesAccount: Employees
Partner AccountOpportunity: Partner Account
This field is not updated for leads converted to existing opportunities.
PhoneAccount: Phone
Contact: Phone
RatingAccount: Rating
TitleContact: Title
WebsiteAccount: Website

Hope this information helps you!

If this helps you please mark it as solved.

Thanks and Regards
Sandhya
Grant Pestka 4Grant Pestka 4
Thanks for the reply Sandhya.  However, your reply has not answered my question.  I am looking for a way to add code to to a custom button that in conjuction with the leadConvert class will be able to migrate Files (from the Files standard Related List) and some other custom objects from the Lead to the contact when I convert the lead.  I guess part of my question is if this is even possible.  If it is, the other part of my question is which classes would I use to make the migration on conversion happen.