You need to sign in to do that
Don't have an account?
Gaurav Agrawal 1
Multiple Lookup for contact and for a custom object named closing contact on a Visualforce page
I need to have two lookups for contact and two lookup for a custom object, so that i can send email to them on sendEmail button action. I am stuck at how to fetch multiple id's of lookup in controller and send the mail.
Option 2 (better but more work): create a junction object linking the contact and the object, retreive records from the junciton object linked to the contact in one SoQL query to a set. check how account or opportunity ocntact roles are retreived in SoQL as an example