0

I have created a custom lead conversion process. Now I have a requirement to add that custom process to campaign members.

To do that I created a URL Detail Page Button. I thought what I had would work but

I get the following error :

Id value is not valid for the Lead standard controller

I'm wondering if instead of the {!Lead.Id} that I should something like 00Q.

I'm trying to get this to work and I've tried several fixes and tried making it a javascript button too. H

ow can I get this to pull the lead ID of the campaign member? Am I going about this wrong?

/apex/leadConvertPage?retURL=%2F{!Lead.Id}&id={!Lead.Id}
  • possible duplicate of Campaign Member Javascript Button Help – JimRae Mar 19 '15 at 19:50
  • @JimRae This question is different because it is a URL link button. The other question was asking why the Javascript was sending me to a page with an additional convert button instead of straight to the conversion screen. In this URL one I'm trying to figure out why it is not grabbing the id. – Blair Kristin Mar 20 '15 at 14:33
0

Ok so this was a dumb question. I had Lead.Id instead of Campaignmember.LeadId. Here is what I ended up with.

/apex/leadConvertPage?retURL=%2F{!CampaignMember.LeadId}&id={!CampaignMember.LeadId}

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.