編輯

共用方式為


Attachment (ActivityMimeAttachment) table/entity reference

MIME attachment for an activity.

Messages

The following table lists the messages for the Attachment (ActivityMimeAttachment) table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Create
Event: True
POST /activitymimeattachments
See Create
Create records
Delete
Event: True
DELETE /activitymimeattachments(activitymimeattachmentid)
See Delete
Delete records
Retrieve
Event: True
GET /activitymimeattachments(activitymimeattachmentid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: True
GET /activitymimeattachments
See Query data
Query data
Update
Event: True
PATCH /activitymimeattachments(activitymimeattachmentid)
See Update
Update records
Upsert
Event: False
PATCH /activitymimeattachments(activitymimeattachmentid)
See Upsert a table row
UpsertRequest

Properties

The following table lists selected properties for the Attachment (ActivityMimeAttachment) table.

Property Value
DisplayName Attachment
DisplayCollectionName Attachments
SchemaName ActivityMimeAttachment
CollectionSchemaName ActivityMimeAttachments
EntitySetName activitymimeattachments
LogicalName activitymimeattachment
LogicalCollectionName activitymimeattachments
PrimaryIdAttribute activitymimeattachmentid
PrimaryNameAttribute filename
TableType Standard
OwnershipType None

Writable columns/attributes

These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

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
Type Lookup
Targets activitypointer

ActivityMimeAttachmentId

Property Value
Description Unique identifier of the attachment.
DisplayName Activity Mime Attachment
IsValidForForm False
IsValidForRead True
LogicalName activitymimeattachmentid
RequiredLevel SystemRequired
Type Uniqueidentifier

ActivityMimeAttachmentIdUnique

Property Value
Description For internal use only.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName activitymimeattachmentidunique
RequiredLevel SystemRequired
Type Uniqueidentifier

AttachmentContentId

Property Value
Description For internal use only
DisplayName Content Id
IsValidForForm False
IsValidForRead True
LogicalName attachmentcontentid
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 250

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
Type Lookup
Targets attachment

AttachmentNumber

Property Value
Description Number of the attachment.
DisplayName Attachment Number
IsValidForForm False
IsValidForRead True
LogicalName attachmentnumber
RequiredLevel SystemRequired
Type Integer
MaxValue 1000000000
MinValue 0

Body

Property Value
Description Contents of the attachment.
DisplayName Body
IsValidForForm False
IsValidForRead True
LogicalName body
RequiredLevel None
Type String
Format TextArea
FormatName TextArea
ImeMode Auto
IsLocalizable False
MaxLength 1073741823

FileName

Property Value
Description File name of the attachment.
DisplayName File Name
IsValidForForm False
IsValidForRead True
LogicalName filename
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 255

MimeType

Property Value
Description MIME type of the attachment.
DisplayName Mime Type
IsValidForForm False
IsValidForRead True
LogicalName mimetype
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 256

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
Type Lookup
Targets activitypointer, template

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
IsValidForForm False
IsValidForRead True
LogicalName subject
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 2000

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

ActivitySubject

Property Value
Description Descriptive subject for the activity.
DisplayName ActivitySubject
IsValidForForm False
IsValidForRead True
LogicalName activitysubject
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 2000
Property Value
Description anonymous link
DisplayName For internal use only.
IsValidForForm False
IsValidForRead True
LogicalName anonymouslink
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 2000

ComponentState

Property Value
Description For internal use only.
DisplayName Component State
IsValidForForm False
IsValidForRead True
LogicalName componentstate
RequiredLevel SystemRequired
Type Picklist
DefaultFormValue -1
GlobalChoiceName componentstate

ComponentState Choices/Options

Value Label
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished

FileSize

Property Value
Description File size of the attachment.
DisplayName File Size (Bytes)
IsValidForForm False
IsValidForRead True
LogicalName filesize
RequiredLevel None
Type Integer
MaxValue 1000000000
MinValue 0

IsFollowed

Property Value
Description Indicates if this attachment is followed.
DisplayName Followed
IsValidForForm True
IsValidForRead True
LogicalName isfollowed
RequiredLevel None
Type Boolean
GlobalChoiceName activitymimeattachment_isfollowed
DefaultValue False
True Label Yes
False Label No

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
GlobalChoiceName ismanaged
DefaultValue False
True Label Managed
False Label Unmanaged

OverwriteTime

Property Value
Description For internal use only.
DisplayName Record Overwrite Time
IsValidForForm False
IsValidForRead True
LogicalName overwritetime
RequiredLevel SystemRequired
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

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
Type Owner
Targets systemuser, team

OwnerIdName

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridname
RequiredLevel SystemRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

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
Type Lookup
Targets businessunit

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
Type Lookup
Targets systemuser

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
RequiredLevel None
Type BigInt
MaxValue 9223372036854775807
MinValue -9223372036854775808

Many-to-One relationships

These relationships are many-to-one. Listed by SchemaName.

activity_pointer_activity_mime_attachment

One-To-Many Relationship: activitypointer activity_pointer_activity_mime_attachment

Property Value
ReferencedEntity activitypointer
ReferencedAttribute activityid
ReferencingAttribute objectid
ReferencingEntityNavigationPropertyName objectid_activitypointer
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

appointment_activity_mime_attachment

One-To-Many Relationship: appointment appointment_activity_mime_attachment

Property Value
ReferencedEntity appointment
ReferencedAttribute activityid
ReferencingAttribute objectid
ReferencingEntityNavigationPropertyName objectid_appointment
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

attachment_activity_mime_attachments

One-To-Many Relationship: attachment attachment_activity_mime_attachments

Property Value
ReferencedEntity attachment
ReferencedAttribute attachmentid
ReferencingAttribute attachmentid
ReferencingEntityNavigationPropertyName attachmentid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Restrict
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

email_activity_mime_attachment

One-To-Many Relationship: email email_activity_mime_attachment

Property Value
ReferencedEntity email
ReferencedAttribute activityid
ReferencingAttribute objectid
ReferencingEntityNavigationPropertyName objectid_email
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

template_activity_mime_attachments

One-To-Many Relationship: template template_activity_mime_attachments

Property Value
ReferencedEntity template
ReferencedAttribute templateid
ReferencingAttribute objectid
ReferencingEntityNavigationPropertyName objectid_template
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

One-to-Many relationships

These relationships are one-to-many. Listed by SchemaName.

ActivityMimeAttachment_AsyncOperations

Many-To-One Relationship: asyncoperation ActivityMimeAttachment_AsyncOperations

Property Value
ReferencingEntity asyncoperation
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName ActivityMimeAttachment_AsyncOperations
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

ActivityMimeAttachment_BulkDeleteFailures

Many-To-One Relationship: bulkdeletefailure ActivityMimeAttachment_BulkDeleteFailures

Property Value
ReferencingEntity bulkdeletefailure
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName ActivityMimeAttachment_BulkDeleteFailures
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

ActivityMimeAttachment_SyncErrors

Many-To-One Relationship: syncerror ActivityMimeAttachment_SyncErrors

Property Value
ReferencingEntity syncerror
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName ActivityMimeAttachment_SyncErrors
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference
activitymimeattachment