No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
EventWhoRelation
Represents the relationship
between an event and a lead or contacts. This derived object is a
filtered version of the EventRelation object; that is, IsParent is true and IsWhat is false. It doesn’t represent
relationships to invitees or to accounts, opportunities, or other
objects.
EventWhoRelation allows a variable number of relationships: one lead or up to 50 contacts. Available only if you’ve enabled Shared Activities for your organization. This object is available in API versions 29.0 and later.
Supported Calls
describeSObjects(), query(), retrieve()
Fields
| Field Name | Details |
|---|---|
| EventId |
|
| RelationId |
|
| Type |
|
Usage
- Apex example that queries relations to a contact or lead
1List<EventWhoRelation> whoRelations = [SELECT Id, Relation.Name FROM 2EventWhoRelation WHERE EventId = '00UD0000005zijD'];