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 did would work but I got the following error :

Id value is not valid for the Lead standard controller

I'm wondering if instead of the {!Lead.Id} I should use 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. How can I get this to pull the lead ID out of the campaign member? Am I going about this the wrong way?

  • possible duplicate of Campaign Member Javascript Button Help
    – JimRae
    Mar 19, 2015 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. Mar 20, 2015 at 14:33

1 Answer 1


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


You must log in to answer this question.

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