11

I've written some Apex code to override the lead conversion process. if the contact exists, the client wants to update all the contact fields with the lead field data when the lead field is not null.

There are over 40 field mappings. Is there a way to access the field mappings table so I don't have to hardcode the field names?

11

Unfortunately the Lead Conversion field mappings aren't available in APEX or the Metadata API

  • 2
    I suspected this myself, but I couldn't find the documentation that proves it. Do you have a link? – sfdcfox Oct 31 '13 at 19:08
  • 2
    Any time-saving solution or answer? – Peter Noges Sep 19 '17 at 21:39
  • @SFDC_peter sorry, no – Ralph Callaway Sep 21 '17 at 5:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.