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
Jennifer DobosJennifer Dobos 

Custom button help

Hi,

I am trying to set up a custom button that is called "Log an Event" that mimicks the "Log a call" button. I have the majority of it working and populating properly except for the contact's email address. Please see attached.

I have tried a number of different "tsk" numbers but have been unsuccessful.

This is the formula I currently have in place now:

/00T/e
?what_id={!Account.Id}
&followup=1
&tsk5=Custom Task Name
&retURL=%2F{!Account.Id}
&tsk2={!Contact.Name}

Please help!

Thanks,

Jennifer

User-added image

RadnipRadnip
When the record gets saved the email gets populated then as long as you have a contact on the task so there shouldn't be a need to populate it through the url.

I don't quite know what the intial process is but rather than using URL params it may make more sense to use an object Action instead.
Jennifer DobosJennifer Dobos
Can you elaborate on the object Action?
Christine KleinChristine Klein
Could you get away with just using &Email=?