function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Abby DouglasAbby Douglas 

Custom Button on Lead Object - Add to Campaign

Is it possible to create a custom detail page button on the Lead object that would add the Lead to a specific campaign, autosave and then redirect back to the Lead? 

I was planning on doing a simple URL hijacking, but I need to autosave the record and you can't do that. 

So, my next option is to create a visualforce page, but I'm not skilled in doing so.

Thank you in advance for your help!!! 
Mani AlaeiMani Alaei
Hi Abby - were you able to solve this? I posted a similar question and have yet to solve for this need:
https://success.salesforce.com/answers?id=9063A0000019XsDQAU

Would appreciate any tips. Thanks!