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

2 commands in 1 custom URL button

Going completely crazy..{!Lead.Id}&retURL={!}&template_id=00X20000000rB9b&save=x{!Lead.Id}/e?retURL={!Lead.Id}&00N20000001BX3j=Greitt&save=x

How can I make this happend so it actually happends.

Want to have a button which when I press a conformation Email is sent to the lead ID and a status field is changed to contacted.

Am I making this to hard on myself or what?

Please help.
Make an Scontrol that sets your status to Contacted and then redirects the page to that email page (or just sends the email itself using the sendEmail API call).  Set your button to call that Scontrol.