편집

다음을 통해 공유


Attachment (ActivityMimeAttachment) entity reference

MIME attachment for an activity.

Messages

Message SDK class or method
Create CreateRequest or
Create
Delete DeleteRequest or
Delete
Retrieve RetrieveRequest or
Retrieve
RetrieveMultiple RetrieveMultipleRequest or
RetrieveMultiple
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 attributes

These 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
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 attributes

These attributes return false for both IsValidForCreate or IsValidForUpdate. Listed by SchemaName.

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
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: 0

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: 0

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

Same as the ActivityMimeAttachment_AsyncOperations many-to-one relationship for the asyncoperation entity.

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 the ActivityMimeAttachment_BulkDeleteFailures many-to-one relationship for the bulkdeletefailure entity.

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 the ActivityMimeAttachment_SyncErrors many-to-one relationship for the syncerror entity.

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 entity. Listed by SchemaName.

appointment_activity_mime_attachment

See the appointment_activity_mime_attachment one-to-many relationship for the appointment entity.

template_activity_mime_attachments

See the template_activity_mime_attachments one-to-many relationship for the template entity.

email_activity_mime_attachment

See the email_activity_mime_attachment one-to-many relationship for the email entity.

activity_pointer_activity_mime_attachment

See the activity_pointer_activity_mime_attachment one-to-many relationship for the activitypointer entity.

See also

About the Entity Reference
Web API EntityType Reference