So i came across lightning lead conversion process that allows you to

convert a lead to existing opportunity

and updates the OpportunityId on lead as convertedOpportunityId.

what i'm wondering about is, if we are able to do that via UI, why not with apex. I tried to setOpportunityId in LeadConvert class but throws an error as invalid signature method.

is this still not possible? what am i missing?

  • 2
    Presumably, this is probably on the roadmap, but it looks like all you get today is a UI feature. I don't see anything about a new method or class for supporting this feature. – sfdcfox Jan 17 '18 at 23:34
  • Thank you, that’s what I thought. I wonder if someone will comment from development team – naruto-sfdc Jan 18 '18 at 17:23

Your Answer

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

Browse other questions tagged or ask your own question.