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
Prashanth Kumar Singh Poorna SinghPrashanth Kumar Singh Poorna Singh 

How to Auto-populate Email ID's of all Contact in "Send an Email" Activities button ?


In our Org, we have a custom Object called "Events" which has many-to- many relationship with Contact. I was able to create a Custom button on Contacts to auto-populate "Additional To" field with emai ID of that contact. 
using below URL

But how to add custom button on Events object, to auto populate all the email ID of the contacts under this Events (Related list) ?
It will be great help if any one can help me in this!

Thank you,
SonamSonam (Salesforce Developers) 
So you have your ORG setup such that one event has multiple contacts and you have a contacts list as a related list on Event detail page..right?
Don't think this can be achieved through URL hack - you might have to call a VF page via a buton and have the email addresses captured through a controller.