Is there a way via Apex or other to prevent a custom field from being carried over from the Lead to the Account during lead conversion despite the field being explicitly mapped?

95% of the time, we want whatever fields we have mapped from Leads to Accounts to carry over when a Lead is converted.

Is there a way via Apex to prevent a certain custom field from carrying over during lead conversion using Apex or some other method? So if Lead meets certain criteria, they get converted, but one of the fields that typically carries over just would not in this example.

1 Answer 1


You could use a future method to overwrite the values back to how they were, or write a custom lead conversion page and overwrite the values after calling Database.convertLead. There's no way to just directly prevent the mapping from occurring.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .