You need to sign in to do that
Don't have an account?

querying whoid for multiple values
whoid field on event :
In an event record there are multiple contacts in name(whoid) field.
but when I am querying it, I am just getting one contact Id.
Do you know any way to get all contacts in whoid?
Thanks in advance for any help.
In an event record there are multiple contacts in name(whoid) field.
but when I am querying it, I am just getting one contact Id.
Do you know any way to get all contacts in whoid?
Thanks in advance for any help.


There will always be only 1 whoid for an event. If you want gto get the list of all contacts invitees in an event, you should query the "eventrelation" object instead: http://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_eventattendee.htm