Attachment (ActivityMimeAttachment) table/entity reference
Note
Unsure about table vs. entity? See Developers: Understand terminology in Microsoft Dataverse.
MIME attachment for an activity.
Messages
| Message | Web API Operation | SDK Assembly |
|---|---|---|
| Create | POST [org URI]/api/data/v9.0/activitymimeattachments See Create |
CreateRequest or Create |
| Delete | DELETE [org URI]/api/data/v9.0/activitymimeattachments(activitymimeattachmentid) See Delete |
DeleteRequest or Delete |
| Retrieve | GET [org URI]/api/data/v9.0/activitymimeattachments(activitymimeattachmentid) See Retrieve |
RetrieveRequest or Retrieve |
| RetrieveMultiple | GET [org URI]/api/data/v9.0/activitymimeattachments See Query Data |
RetrieveMultipleRequest or RetrieveMultiple |
| Update | PATCH [org URI]/api/data/v9.0/activitymimeattachments(activitymimeattachmentid) See Update |
UpdateRequest or Update |
Properties
| Property | Value |
|---|---|
| CollectionSchemaName | ActivityMimeAttachments |
| DisplayCollectionName | Attachments |
| DisplayName | Attachment |
| EntitySetName | activitymimeattachments |
| IsBPFEntity | False |
| LogicalCollectionName | activitymimeattachments |
| LogicalName | activitymimeattachment |
| OwnershipType | None |
| PrimaryIdAttribute | activitymimeattachmentid |
| PrimaryNameAttribute | filename |
| SchemaName | ActivityMimeAttachment |
Writable columns/attributes
These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.
- ActivityId
- ActivityMimeAttachmentId
- ActivityMimeAttachmentIdUnique
- AttachmentContentId
- AttachmentId
- AttachmentNumber
- Body
- FileName
- MimeType
- ObjectId
- ObjectTypeCode
- Subject
ActivityId
| Property | Value |
|---|---|
| Description | Unique identifier of the activity with which the attachment is associated. |
| DisplayName | Regarding |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | activityid |
| RequiredLevel | None |
| Targets | activitypointer |
| Type | Lookup |
ActivityMimeAttachmentId
| Property | Value |
|---|---|
| Description | Unique identifier of the attachment. |
| DisplayName | Activity Mime Attachment |
| IsValidForForm | False |
| IsValidForRead | True |
| IsValidForUpdate | False |
| LogicalName | activitymimeattachmentid |
| RequiredLevel | SystemRequired |
| Type | Uniqueidentifier |
ActivityMimeAttachmentIdUnique
| Property | Value |
|---|---|
| Description | For internal use only. |
| DisplayName | |
| IsValidForForm | False |
| IsValidForRead | True |
| IsValidForUpdate | False |
| LogicalName | activitymimeattachmentidunique |
| RequiredLevel | SystemRequired |
| Type | Uniqueidentifier |
AttachmentContentId
| Property | Value |
|---|---|
| Description | For internal use only |
| DisplayName | Content Id |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | attachmentcontentid |
| MaxLength | 250 |
| RequiredLevel | None |
| Type | String |
AttachmentId
| Property | Value |
|---|---|
| Description | Unique identifier of the attachment with which this activitymimeattachment is associated. |
| DisplayName | Attachment |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | attachmentid |
| RequiredLevel | ApplicationRequired |
| Targets | attachment |
| Type | Lookup |
AttachmentNumber
| Property | Value |
|---|---|
| Description | Number of the attachment. |
| DisplayName | Attachment Number |
| Format | None |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | attachmentnumber |
| MaxValue | 1000000000 |
| MinValue | 0 |
| RequiredLevel | SystemRequired |
| Type | Integer |
Body
| Property | Value |
|---|---|
| Description | Contents of the attachment. |
| DisplayName | Body |
| FormatName | TextArea |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | body |
| MaxLength | 1073741823 |
| RequiredLevel | None |
| Type | String |
FileName
| Property | Value |
|---|---|
| Description | File name of the attachment. |
| DisplayName | File Name |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | filename |
| MaxLength | 255 |
| RequiredLevel | None |
| Type | String |
MimeType
| Property | Value |
|---|---|
| Description | MIME type of the attachment. |
| DisplayName | Mime Type |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | mimetype |
| MaxLength | 256 |
| RequiredLevel | None |
| Type | String |
ObjectId
| Property | Value |
|---|---|
| Description | Unique identifier of the record with which the attachment is associated |
| DisplayName | Item |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | objectid |
| RequiredLevel | SystemRequired |
| Targets | activitypointer,template |
| Type | Lookup |
ObjectTypeCode
| Property | Value |
|---|---|
| Description | Object Type Code of the entity that is associated with the attachment. |
| DisplayName | Entity |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | objecttypecode |
| RequiredLevel | SystemRequired |
| Type | EntityName |
Subject
| Property | Value |
|---|---|
| Description | Descriptive subject for the attachment. |
| DisplayName | Subject |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | subject |
| MaxLength | 2000 |
| RequiredLevel | None |
| Type | String |
Read-only columns/attributes
These columns/attributes return false for both IsValidForCreate or IsValidForUpdate. Listed by SchemaName.
- ActivitySubject
- AnonymousLink
- ComponentState
- FileSize
- IsFollowed
- IsManaged
- OverwriteTime
- OwnerId
- OwnerIdName
- OwnerIdType
- OwningBusinessUnit
- OwningUser
- SolutionId
- SupportingSolutionId
- VersionNumber
ActivitySubject
| Property | Value |
|---|---|
| Description | Descriptive subject for the activity. |
| DisplayName | ActivitySubject |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | activitysubject |
| MaxLength | 2000 |
| RequiredLevel | None |
| Type | String |
AnonymousLink
| Property | Value |
|---|---|
| Description | anonymous link |
| DisplayName | For internal use only. |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | anonymouslink |
| MaxLength | 2000 |
| RequiredLevel | None |
| Type | String |
ComponentState
| Property | Value |
|---|---|
| Description | For internal use only. |
| DisplayName | Component State |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | componentstate |
| RequiredLevel | SystemRequired |
| Type | Picklist |
ComponentState Choices/Options
| Value | Label | Description |
|---|---|---|
| 0 | Published | |
| 1 | Unpublished | |
| 2 | Deleted | |
| 3 | Deleted Unpublished |
FileSize
| Property | Value |
|---|---|
| Description | File size of the attachment. |
| DisplayName | File Size (Bytes) |
| Format | None |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | filesize |
| MaxValue | 1000000000 |
| MinValue | 0 |
| RequiredLevel | None |
| Type | Integer |
IsFollowed
| Property | Value |
|---|---|
| Description | Indicates if this attachment is followed. |
| DisplayName | Followed |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | isfollowed |
| RequiredLevel | None |
| Type | Boolean |
IsFollowed Choices/Options
| Value | Label | Description |
|---|---|---|
| 1 | Yes | |
| 0 | No |
DefaultValue: False
IsManaged
| Property | Value |
|---|---|
| Description | Indicates whether the solution component is part of a managed solution. |
| DisplayName | Is Managed |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | ismanaged |
| RequiredLevel | SystemRequired |
| Type | Boolean |
IsManaged Choices/Options
| Value | Label | Description |
|---|---|---|
| 1 | Managed | |
| 0 | Unmanaged |
DefaultValue: False
OverwriteTime
| Property | Value |
|---|---|
| DateTimeBehavior | UserLocal |
| Description | For internal use only. |
| DisplayName | Record Overwrite Time |
| Format | DateOnly |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | overwritetime |
| RequiredLevel | SystemRequired |
| Type | DateTime |
OwnerId
| Property | Value |
|---|---|
| Description | Unique identifier of the user or team who owns the activity_mime_attachment. |
| DisplayName | Owner |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | ownerid |
| RequiredLevel | ApplicationRequired |
| Targets | systemuser,team |
| Type | Owner |
OwnerIdName
| Property | Value |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | owneridname |
| MaxLength | 100 |
| RequiredLevel | SystemRequired |
| Type | String |
OwnerIdType
| Property | Value |
|---|---|
| Description | |
| DisplayName | |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | owneridtype |
| RequiredLevel | SystemRequired |
| Type | EntityName |
OwningBusinessUnit
| Property | Value |
|---|---|
| Description | Unique identifier of the business unit that owns the activity mime attachment. |
| DisplayName | Owning Business Unit |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | owningbusinessunit |
| RequiredLevel | None |
| Targets | businessunit |
| Type | Lookup |
OwningUser
| Property | Value |
|---|---|
| Description | Unique identifier of the user who owns the activity mime attachment. |
| DisplayName | Owner |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | owninguser |
| RequiredLevel | None |
| Targets | systemuser |
| Type | Lookup |
SolutionId
| Property | Value |
|---|---|
| Description | Unique identifier of the associated solution. |
| DisplayName | Solution |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | solutionid |
| RequiredLevel | SystemRequired |
| Type | Uniqueidentifier |
SupportingSolutionId
| Property | Value |
|---|---|
| Description | For internal use only. |
| DisplayName | Solution |
| IsValidForForm | False |
| IsValidForRead | False |
| LogicalName | supportingsolutionid |
| RequiredLevel | None |
| Type | Uniqueidentifier |
VersionNumber
| Property | Value |
|---|---|
| Description | Version number of the activity mime attachment. |
| DisplayName | Version Number |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | versionnumber |
| MaxValue | 9223372036854775807 |
| MinValue | -9223372036854775808 |
| RequiredLevel | None |
| Type | BigInt |
One-To-Many Relationships
Listed by SchemaName.
- ActivityMimeAttachment_AsyncOperations
- ActivityMimeAttachment_BulkDeleteFailures
- ActivityMimeAttachment_SyncErrors
ActivityMimeAttachment_AsyncOperations
Same as asyncoperation table ActivityMimeAttachment_AsyncOperations Many-To-One relationship.
| Property | Value |
|---|---|
| ReferencingEntity | asyncoperation |
| ReferencingAttribute | regardingobjectid |
| IsHierarchical | False |
| IsCustomizable | False |
| ReferencedEntityNavigationPropertyName | ActivityMimeAttachment_AsyncOperations |
| AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
| CascadeConfiguration | Assign: NoCascade Delete: NoCascade Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
ActivityMimeAttachment_BulkDeleteFailures
Same as bulkdeletefailure table ActivityMimeAttachment_BulkDeleteFailures Many-To-One relationship.
| Property | Value |
|---|---|
| ReferencingEntity | bulkdeletefailure |
| ReferencingAttribute | regardingobjectid |
| IsHierarchical | False |
| IsCustomizable | False |
| ReferencedEntityNavigationPropertyName | ActivityMimeAttachment_BulkDeleteFailures |
| AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
| CascadeConfiguration | Assign: NoCascade Delete: Cascade Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
ActivityMimeAttachment_SyncErrors
Same as syncerror table ActivityMimeAttachment_SyncErrors Many-To-One relationship.
| Property | Value |
|---|---|
| ReferencingEntity | syncerror |
| ReferencingAttribute | regardingobjectid |
| IsHierarchical | False |
| IsCustomizable | True |
| ReferencedEntityNavigationPropertyName | ActivityMimeAttachment_SyncErrors |
| AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
| CascadeConfiguration | Assign: Cascade Delete: Cascade Merge: Cascade Reparent: Cascade Share: Cascade Unshare: Cascade |
Many-To-One Relationships
Each Many-To-One relationship is defined by a corresponding One-To-Many relationship with the related table. Listed by SchemaName.
- appointment_activity_mime_attachment
- template_activity_mime_attachments
- email_activity_mime_attachment
- activity_pointer_activity_mime_attachment
appointment_activity_mime_attachment
See appointment Table appointment_activity_mime_attachment One-To-Many relationship.
template_activity_mime_attachments
See template Table template_activity_mime_attachments One-To-Many relationship.
email_activity_mime_attachment
See email Table email_activity_mime_attachment One-To-Many relationship.
activity_pointer_activity_mime_attachment
See activitypointer Table activity_pointer_activity_mime_attachment One-To-Many relationship.
See also
About the table reference
Web API Reference
activitymimeattachment EntityType