ActivityParty Entity
An activity party represents a person or group associated with an activity. An activity can have multiple activity parties.
In This Topic
Activity Party Types
There are 12 types of activity party in Microsoft Dynamics CRM. The activity party type is stored as an integer value in the ActivityParty.ParticipationTypeMask attribute. For more information, see ActivityParty Entity OptionSet Attribute Metadata. The following table lists the different activity party types, the corresponding integer value for the ActivityParty.ParticipationTypeMask attribute, and the description.
| Activity party type | Value | Description |
|---|---|---|
|
Sender |
1 |
Specifies the sender. |
|
ToRecipient |
2 |
Specifies the recipient in the To field. |
|
CCRecipient |
3 |
Specifies the recipient in the Cc field. |
|
BccRecipient |
4 |
Specifies the recipient in the Bcc field. |
|
RequiredAttendee |
5 |
Specifies a required attendee. |
|
OptionalAttendee |
6 |
Specifies an optional attendee. |
|
Organizer |
7 |
Specifies the activity organizer. |
|
Regarding |
8 |
Specifies the regarding item. |
|
Owner |
9 |
Specifies the activity owner. |
|
Resource |
10 |
Specifies a resource. |
|
Customer |
11 |
Specifies a customer. |
|
Partner |
12 |
Specifies a partner. |
Activity Party Types Available for Each Activity
Not all activity party types are available for each activity in Microsoft Dynamics CRM, except for a custom activity. A custom activity supports all activity party types. You can associate an activity party type for an activity by using the respective attribute of an activity. For example, to associate an Organizer activity party type with an appointment activity, must specify a value or an array of values of the ActivityParty type in the Appointment.Organizer attribute.
To control which email address should be used for sending emails to the activity party, or for replying to emails from the activity party, set the ActivityParty.AddressUsed attribute.
The following table lists the activity party types that are supported for each activity, and the corresponding activity properties to specify those activity party types.
| Activity entity name | Supported activity party type | Activity attribute |
|---|---|---|
|
Appointment |
OptionalAttendee |
Appointment.OptionalAttendees |
|
CampaignActivity |
Partner |
CampaignActivity.Partners |
|
CampaignResponse |
Customer |
CampaignResponse.Customer |
|
|
BccRecipient |
Email.Bcc |
|
Fax |
Sender |
Fax.From |
|
Letter |
BccRecipient |
Letter.Bcc |
|
PhoneCall |
Sender |
PhoneCall.From |
|
RecurringAppointmentMaster |
OptionalAttendee |
RecurringAppointmentMaster.OptionalAttendees |
|
ServiceAppointment |
Customer |
ServiceAppointment.Customers |
See Also
Concepts
ActivityParty Entity Messages and MethodsActivityParty Entity Metadata
ActivityParty Entity OptionSet Attribute Metadata
Other Resources
Sample: Book an AppointmentSample: Convert a Fax to a Task
Sample: Override Goal Total Count and Close the Goal
Sample: Roll Up Goal Data for a Fiscal Period Against the Stretch Target Count
Sample: Send an Email Using a Template
Sample: Validate an Appointment
Microsoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2012 Microsoft Corporation. All rights reserved.