Email Template (Template) テーブル/エンティティの参照

注意

テーブルとエンティティの違いについて不明な点がありますか? 開発者: Microsoft Dataverse の用語を理解するを参照してください。

Template for an email message that contains the standard attributes of an email message.

メッセージ

メッセージ Web API 操作 SDK クラスまたはメソッド
Assign PATCH [org URI]/api/data/v9.0/templates(templateid)
owneridのプロパティを更新する。
AssignRequest
Create POST [org URI]/api/data/v9.0/templates
作成を参照
CreateRequest または
Create
Delete DELETE [org URI]/api/data/v9.0/templates(templateid)
削除を参照
DeleteRequest または
Delete
GrantAccess GrantAccess Action GrantAccessRequest
InstantiateTemplate InstantiateTemplate Action InstantiateTemplateRequest
ModifyAccess ModifyAccess Action ModifyAccessRequest
Retrieve GET [org URI]/api/data/v9.0/templates(templateid)
取得を参照
RetrieveRequest または
Retrieve
RetrieveMultiple GET [org URI]/api/data/v9.0/templates
データのクエリを参照
RetrieveMultipleRequest または
RetrieveMultiple
RetrievePrincipalAccess RetrievePrincipalAccess Function RetrievePrincipalAccessRequest
RetrieveSharedPrincipalsAndAccess RetrieveSharedPrincipalsAndAccess Function RetrieveSharedPrincipalsAndAccessRequest
RevokeAccess RevokeAccess Action RevokeAccessRequest
SendEmail SendEmail Action SendEmailRequest
SendFax SendFax Action SendFaxRequest
SendTemplate SendTemplate Action SendTemplateRequest
Update PATCH [org URI]/api/data/v9.0/templates(templateid)
更新を参照
UpdateRequest または
Update

プロパティ

プロパティ
CollectionSchemaName Templates
DisplayCollectionName Email Templates
DisplayName Email Template
EntitySetName templates
IsBPFEntity False
LogicalCollectionName templates
LogicalName template
OwnershipType UserOwned
PrimaryIdAttribute templateid
PrimaryNameAttribute title
SchemaName Template

書き込み可能な列/属性

これらの列/属性は IsValidForCreate または IsValidForUpdate のいずれかについて true を返します (通常は両方)。 SchemaName が一覧表示。

Body

プロパティ
Description Body text of the email template.
DisplayName Body
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName body
MaxLength 1073741823
RequiredLevel None
Type Memo

Description

プロパティ
Description Description of the email template.
DisplayName Description
Format Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName description
MaxLength 2000
RequiredLevel None
Type Memo

EntityImage

追加元 : Active Solution ソリューション

プロパティ
Description Shows the default image for the record.
DisplayName Default Image
IsPrimaryImage True
IsValidForForm False
IsValidForRead True
LogicalName entityimage
MaxHeight 144
MaxWidth 144
RequiredLevel None
Type Image

GenerationTypeCode

プロパティ
Description For internal use only.
DisplayName Generation Type Code
Format None
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName generationtypecode
MaxValue 2147483647
MinValue 0
RequiredLevel None
Type Integer

ImportSequenceNumber

プロパティ
Description Unique identifier of the data import or data migration that created this record.
DisplayName Import Sequence Number
Format None
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName importsequencenumber
MaxValue 2147483647
MinValue -2147483648
RequiredLevel None
Type Integer

IntroducedVersion

プロパティ
Description Version in which the form is introduced.
DisplayName Introduced Version
FormatName VersionNumber
IsLocalizable False
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName introducedversion
MaxLength 48
RequiredLevel None
Type String

IsCustomizable

プロパティ
Description Information that specifies whether this component can be customized.
DisplayName Customizable
IsValidForForm False
IsValidForRead True
LogicalName iscustomizable
RequiredLevel SystemRequired
Type ManagedProperty

IsPersonal

プロパティ
Description Information about whether the template is personal or is available to all users.
DisplayName Viewable By
IsValidForForm False
IsValidForRead True
LogicalName ispersonal
RequiredLevel None
Type Boolean

IsPersonal の選択肢/オプション

ラベル 内容
1 Individual
0 Organization

既定値 : 1

LanguageCode

プロパティ
Description Language of the email template.
DisplayName Language
Format Language
IsValidForForm True
IsValidForRead True
LogicalName languagecode
MaxValue 2147483647
MinValue 0
RequiredLevel ApplicationRequired
Type Integer

MimeType

プロパティ
Description MIME type of the email template.
DisplayName Mime Type
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName mimetype
MaxLength 256
RequiredLevel None
Type String

OwnerId

プロパティ
Description Unique identifier of the user or team who owns the template for the email activity.
DisplayName Owner
IsValidForForm False
IsValidForRead True
LogicalName ownerid
RequiredLevel SystemRequired
Targets systemuser,team
Type Owner

OwnerIdType

プロパティ
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridtype
RequiredLevel SystemRequired
Type EntityName

PresentationXml

プロパティ
Description XML data for the body of the email template.
DisplayName Presentation XML
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName presentationxml
MaxLength 1073741823
RequiredLevel None
Type Memo

SafeHtml

追加元 : Activities Patch ソリューション

プロパティ
Description Safe html of email template.
DisplayName Safe HTML of email template
Format TextArea
IsLocalizable False
IsValidForForm True
IsValidForRead True
LogicalName safehtml
MaxLength 1073741823
RequiredLevel None
Type Memo

Subject

プロパティ
Description Subject associated with the email template.
DisplayName Subject
Format Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName subject
MaxLength 5000
RequiredLevel ApplicationRequired
Type Memo

SubjectPresentationXml

プロパティ
Description XML data for the subject of the email template.
DisplayName Subject XML
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName subjectpresentationxml
MaxLength 1073741823
RequiredLevel None
Type Memo

SubjectSafeHtml

追加元 : Activities Patch ソリューション

プロパティ
Description Safe html of email template subject.
DisplayName Safe HTML of email template subject
Format TextArea
IsLocalizable False
IsValidForForm True
IsValidForRead True
LogicalName subjectsafehtml
MaxLength 1073741823
RequiredLevel None
Type Memo

TemplateId

プロパティ
Description Unique identifier of the template.
DisplayName Email Template
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName templateid
RequiredLevel SystemRequired
Type Uniqueidentifier

TemplateTypeCode

プロパティ
Description Type of email template.
DisplayName Template Type
IsValidForForm False
IsValidForRead True
LogicalName templatetypecode
RequiredLevel SystemRequired
Type EntityName

Title

プロパティ
Description Title of the template.
DisplayName Title
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName title
MaxLength 200
RequiredLevel ApplicationRequired
Type String

読み取り専用列/属性

これらの列/属性は IsValidForCreate または IsValidForUpdate の両方について false を返します。 SchemaName が一覧表示。

ComponentState

プロパティ
Description For internal use only.
DisplayName Component State
IsValidForForm False
IsValidForRead True
LogicalName componentstate
RequiredLevel SystemRequired
Type Picklist

ComponentState の選択肢/オプション

ラベル 内容
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished

CreatedBy

プロパティ
Description Unique identifier of the user who created the email template.
DisplayName Created By
IsValidForForm False
IsValidForRead True
LogicalName createdby
RequiredLevel None
Targets systemuser
Type Lookup

CreatedByName

プロパティ
Description Name of the user who created the email template.
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdbyname
MaxLength 100
RequiredLevel None
Type String

CreatedByYomiName

プロパティ
Description YomiName of the user who created the email template.
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdbyyominame
MaxLength 100
RequiredLevel None
Type String

CreatedOn

プロパティ
DateTimeBehavior UserLocal
Description Date and time when the email template was created.
DisplayName Created On
Format DateAndTime
IsValidForForm False
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime

CreatedOnBehalfBy

プロパティ
Description Unique identifier of the delegate user who created the template.
DisplayName Created By (Delegate)
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Targets systemuser
Type Lookup

CreatedOnBehalfByName

プロパティ
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyname
MaxLength 100
RequiredLevel None
Type String

CreatedOnBehalfByYomiName

プロパティ
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyyominame
MaxLength 100
RequiredLevel None
Type String

EntityImage_Timestamp

追加元 : Activities Patch ソリューション

プロパティ
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName entityimage_timestamp
MaxValue 9223372036854775807
MinValue -9223372036854775808
RequiredLevel None
Type BigInt

EntityImage_URL

追加元 : Activities Patch ソリューション

プロパティ
Description
DisplayName
FormatName Url
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName entityimage_url
MaxLength 200
RequiredLevel None
Type String

EntityImageId

追加元 : Activities Patch ソリューション

プロパティ
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName entityimageid
RequiredLevel None
Type Uniqueidentifier

IsManaged

プロパティ
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 の選択肢/オプション

ラベル 内容
1 Managed
0 Unmanaged

既定値 : 0

IsRecommended

プロパティ
Description Indicates if a template is recommended by Dynamics 365.
DisplayName Recommended
IsValidForForm True
IsValidForRead True
LogicalName isrecommended
RequiredLevel None
Type Boolean

IsRecommended の選択肢/オプション

ラベル 内容
1 Yes
0 No

既定値 : 0

ModifiedBy

プロパティ
Description Unique identifier of the user who last modified the template.
DisplayName Modified By
IsValidForForm False
IsValidForRead True
LogicalName modifiedby
RequiredLevel None
Targets systemuser
Type Lookup

ModifiedByName

プロパティ
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedbyname
MaxLength 100
RequiredLevel None
Type String

ModifiedByYomiName

プロパティ
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedbyyominame
MaxLength 100
RequiredLevel None
Type String

ModifiedOn

プロパティ
DateTimeBehavior UserLocal
Description Date and time when the email template was last modified.
DisplayName Modified On
Format DateAndTime
IsValidForForm False
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
Type DateTime

ModifiedOnBehalfBy

プロパティ
Description Unique identifier of the delegate user who last modified the template.
DisplayName Modified By (Delegate)
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfby
RequiredLevel None
Targets systemuser
Type Lookup

ModifiedOnBehalfByName

プロパティ
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfbyname
MaxLength 100
RequiredLevel None
Type String

ModifiedOnBehalfByYomiName

プロパティ
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfbyyominame
MaxLength 100
RequiredLevel None
Type String

OpenCount

プロパティ
Description For internal use only. Shows the number of times emails that use this template have been opened.
DisplayName Open Count
Format None
IsValidForForm False
IsValidForRead True
LogicalName opencount
MaxValue 2147483647
MinValue 0
RequiredLevel None
Type Integer

OpenRate

プロパティ
Description Shows the open rate of this template. This is based on number of opens on followed emails that use this template.
DisplayName Open Rate
Format None
IsValidForForm True
IsValidForRead True
LogicalName openrate
MaxValue 2147483647
MinValue 0
RequiredLevel None
Type Integer

OverwriteTime

プロパティ
DateTimeBehavior UserLocal
Description For internal use only.
DisplayName Record Overwrite Time
Format DateOnly
IsValidForForm False
IsValidForRead True
LogicalName overwritetime
RequiredLevel SystemRequired
Type DateTime

OwnerIdName

プロパティ
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName owneridname
MaxLength 100
RequiredLevel SystemRequired
Type String

OwnerIdYomiName

プロパティ
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName owneridyominame
MaxLength 100
RequiredLevel SystemRequired
Type String

OwningBusinessUnit

プロパティ
Description Unique identifier of the business unit that owns the template.
DisplayName Owning Business Unit
IsValidForForm True
IsValidForRead True
LogicalName owningbusinessunit
RequiredLevel None
Targets businessunit
Type Lookup

OwningBusinessUnitName

プロパティ
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName owningbusinessunitname
MaxLength 160
RequiredLevel None
Type String

OwningTeam

プロパティ
Description Unique identifier of the team who owns the template.
DisplayName Owning Team
IsValidForForm False
IsValidForRead True
LogicalName owningteam
RequiredLevel None
Targets team
Type Lookup

OwningUser

プロパティ
Description Unique identifier of the user who owns the template.
DisplayName Owning User
IsValidForForm False
IsValidForRead True
LogicalName owninguser
RequiredLevel None
Targets systemuser
Type Lookup

ReplyCount

プロパティ
Description For internal use only. Shows the number of times emails that use this template have received replies.
DisplayName Reply Count
Format None
IsValidForForm False
IsValidForRead True
LogicalName replycount
MaxValue 2147483647
MinValue 0
RequiredLevel None
Type Integer

ReplyRate

プロパティ
Description Shows the reply rate for this template. This is based on number of replies received on followed emails that use this template.
DisplayName Reply Rate
Format None
IsValidForForm False
IsValidForRead True
LogicalName replyrate
MaxValue 2147483647
MinValue 0
RequiredLevel None
Type Integer

SolutionId

プロパティ
Description Unique identifier of the associated solution.
DisplayName Solution
IsValidForForm False
IsValidForRead True
LogicalName solutionid
RequiredLevel SystemRequired
Type Uniqueidentifier

SupportingSolutionId

プロパティ
Description For internal use only.
DisplayName Solution
IsValidForForm False
IsValidForRead False
LogicalName supportingsolutionid
RequiredLevel None
Type Uniqueidentifier

TemplateIdUnique

プロパティ
Description For internal use only.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName templateidunique
RequiredLevel SystemRequired
Type Uniqueidentifier

UsedCount

プロパティ
Description Shows the number of sent emails that use this template.
DisplayName Sent email count
Format None
IsValidForForm False
IsValidForRead True
LogicalName usedcount
MaxValue 2147483647
MinValue 0
RequiredLevel None
Type Integer

VersionNumber

プロパティ
Description Version number of the template.
DisplayName Version Number
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
MaxValue 9223372036854775807
MinValue -9223372036854775808
RequiredLevel None
Type BigInt

一対多関連付け

SchemaName が一覧表示。

template_activity_mime_attachments

activitymimeattachment テーブル/エンティティの多対一のリレーションシップ template_activity_mime_attachments と同じです。

プロパティ
ReferencingEntity activitymimeattachment
ReferencingAttribute objectid
IsHierarchical False
IsCustomizable False
ReferencedEntityNavigationPropertyName template_activity_mime_attachments
AssociatedMenuConfiguration Behavior: DoNotDisplay
Group: Details
Label:
Order:
CascadeConfiguration Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
Share: NoCascade
Unshare: NoCascade

Template_SyncErrors

syncerror テーブル/エンティティの多対一のリレーションシップ Template_SyncErrors と同じです。

プロパティ
ReferencingEntity syncerror
ReferencingAttribute regardingobjectid
IsHierarchical False
IsCustomizable True
ReferencedEntityNavigationPropertyName Template_SyncErrors
AssociatedMenuConfiguration Behavior: DoNotDisplay
Group: Details
Label:
Order:
CascadeConfiguration Assign: Cascade
Delete: Cascade
Merge: Cascade
Reparent: Cascade
Share: Cascade
Unshare: Cascade

Template_AsyncOperations

asyncoperation テーブル/エンティティの多対一のリレーションシップ Template_AsyncOperations と同じです。

プロパティ
ReferencingEntity asyncoperation
ReferencingAttribute regardingobjectid
IsHierarchical False
IsCustomizable False
ReferencedEntityNavigationPropertyName Template_AsyncOperations
AssociatedMenuConfiguration Behavior: DoNotDisplay
Group: Details
Label:
Order:
CascadeConfiguration Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
Share: NoCascade
Unshare: NoCascade

Email_EmailTemplate

email テーブル/エンティティの多対一のリレーションシップ Email_EmailTemplate と同じです。

プロパティ
ReferencingEntity email
ReferencingAttribute templateid
IsHierarchical False
IsCustomizable True
ReferencedEntityNavigationPropertyName Email_EmailTemplate
AssociatedMenuConfiguration Behavior: DoNotDisplay
Group: Details
Label:
Order:
CascadeConfiguration Assign: NoCascade
Delete: RemoveLink
Merge: NoCascade
Reparent: NoCascade
Share: NoCascade
Unshare: NoCascade

Template_Organization

organization テーブル/エンティティの多対一のリレーションシップ Template_Organization と同じです。

プロパティ
ReferencingEntity organization
ReferencingAttribute acknowledgementtemplateid
IsHierarchical False
IsCustomizable False
ReferencedEntityNavigationPropertyName Template_Organization
AssociatedMenuConfiguration Behavior: DoNotDisplay
Group: Details
Label:
Order:
CascadeConfiguration Assign: NoCascade
Delete: RemoveLink
Merge: NoCascade
Reparent: NoCascade
Share: NoCascade
Unshare: NoCascade

Template_ProcessSessions

processsession テーブル/エンティティの多対一のリレーションシップ Template_ProcessSessions と同じです。

プロパティ
ReferencingEntity processsession
ReferencingAttribute regardingobjectid
IsHierarchical False
IsCustomizable False
ReferencedEntityNavigationPropertyName Template_ProcessSessions
AssociatedMenuConfiguration Behavior: UseCollectionName
Group: Details
Label:
Order: 110
CascadeConfiguration Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
Share: NoCascade
Unshare: NoCascade

Template_BulkDeleteFailures

bulkdeletefailure テーブル/エンティティの多対一のリレーションシップ Template_BulkDeleteFailures と同じです。

プロパティ
ReferencingEntity bulkdeletefailure
ReferencingAttribute regardingobjectid
IsHierarchical False
IsCustomizable False
ReferencedEntityNavigationPropertyName Template_BulkDeleteFailures
AssociatedMenuConfiguration Behavior: DoNotDisplay
Group: Details
Label:
Order:
CascadeConfiguration Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
Share: NoCascade
Unshare: NoCascade

多対一関連付け

各多対一の関係付けは、関連するテーブルとの対応する一対多の関係付けによって定義されます。 SchemaName が一覧表示。

lk_templatebase_createdby

systemuser テーブル/エンティティの一対多のリレーションシップ lk_templatebase_createdby を参照してください。

lk_templatebase_modifiedby

systemuser テーブル/エンティティの一対多のリレーションシップ lk_templatebase_modifiedby を参照してください。

team_email_templates

team テーブル/エンティティの一対多のリレーションシップ team_email_templates を参照してください。

business_unit_templates

businessunit テーブル/エンティティの一対多のリレーションシップ business_unit_templates を参照してください。

system_user_email_templates

systemuser テーブル/エンティティの一対多のリレーションシップ system_user_email_templates を参照してください。

lk_templatebase_modifiedonbehalfby

systemuser テーブル/エンティティの一対多のリレーションシップ lk_templatebase_modifiedonbehalfby を参照してください。

lk_templatebase_createdonbehalfby

systemuser テーブル/エンティティの一対多のリレーションシップ lk_templatebase_createdonbehalfby を参照してください。

関連項目

Dataverse テーブル/エンティティ参照 Web API リファレンス template EntityType