Partager via


Référence d’entité/de table Email Template (Template)

Notes

Vous n’êtes pas sûr de la table par rapport à l’entité ? Voir Développeurs : Comprendre la terminologie dans Microsoft Dataverse.

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

Messages

Message Opération de l'API web Classe ou méthode SDK
Assign PATCH [org URI]/api/data/v9.0/templates(templateid)
Mettre à jour la propriété ownerid.
AssignRequest
Create POST [org URI]/api/data/v9.0/templates
Voir Créer
CreateRequest ou
Create
Delete DELETE [org URI]/api/data/v9.0/templates(templateid)
Voir Supprimer
DeleteRequest ou
Delete
GrantAccess GrantAccess Action GrantAccessRequest
InstantiateTemplate InstantiateTemplate Action InstantiateTemplateRequest
ModifyAccess ModifyAccess Action ModifyAccessRequest
Retrieve GET [org URI]/api/data/v9.0/templates(templateid)
Voir Récupérer
RetrieveRequest ou
Retrieve
RetrieveMultiple GET [org URI]/api/data/v9.0/templates
Voir Rechercher des données
RetrieveMultipleRequest ou
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)
Voir Mettre à jour
UpdateRequest ou
Update

Propriétés

Propriété Valeur
CollectionSchemaName Templates
DisplayCollectionName Email Templates
DisplayName Email Template
EntitySetName templates
IsBPFEntity False
LogicalCollectionName templates
LogicalName template
OwnershipType UserOwned
PrimaryIdAttribute templateid
PrimaryNameAttribute title
SchemaName Template

Colonnes/Attributs inscriptibles

Ces colonnes/attributs renvoient la valeur true pour IsValidForCreate ou IsValidForUpdate (généralement les deux). Répertorié par SchemaName.

Body

Propriété Valeur
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

Propriété Valeur
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

Ajouté par : solution Active Solution

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
Description Information that specifies whether this component can be customized.
DisplayName Customizable
IsValidForForm False
IsValidForRead True
LogicalName iscustomizable
RequiredLevel SystemRequired
Type ManagedProperty

IsPersonal

Propriété Valeur
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

Choix/Options IsPersonal

Valeur Étiquette Description
1 Individual
0 Organization

Valeur par défaut : 1

LanguageCode

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridtype
RequiredLevel SystemRequired
Type EntityName

PresentationXml

Propriété Valeur
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

Ajouté par : solution Activities Patch

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
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

Ajouté par : solution Activities Patch

Propriété Valeur
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

Propriété Valeur
Description Unique identifier of the template.
DisplayName Email Template
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName templateid
RequiredLevel SystemRequired
Type Uniqueidentifier

TemplateTypeCode

Propriété Valeur
Description Type of email template.
DisplayName Template Type
IsValidForForm False
IsValidForRead True
LogicalName templatetypecode
RequiredLevel SystemRequired
Type EntityName

Title

Propriété Valeur
Description Title of the template.
DisplayName Title
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName title
MaxLength 200
RequiredLevel ApplicationRequired
Type String

Colonnes/Attributs en lecture seule

Ces colonnes/attributs renvoient la valeur false pour IsValidForCreate ou IsValidForUpdate. Répertorié par SchemaName.

ComponentState

Propriété Valeur
Description For internal use only.
DisplayName Component State
IsValidForForm False
IsValidForRead True
LogicalName componentstate
RequiredLevel SystemRequired
Type Picklist

Choix/Options ComponentState

Valeur Étiquette Description
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished

CreatedBy

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyname
MaxLength 100
RequiredLevel None
Type String

CreatedOnBehalfByYomiName

Propriété Valeur
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyyominame
MaxLength 100
RequiredLevel None
Type String

EntityImage_Timestamp

Ajouté par : solution Activities Patch

Propriété Valeur
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName entityimage_timestamp
MaxValue 9223372036854775807
MinValue -9223372036854775808
RequiredLevel None
Type BigInt

EntityImage_URL

Ajouté par : solution Activities Patch

Propriété Valeur
Description
DisplayName
FormatName Url
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName entityimage_url
MaxLength 200
RequiredLevel None
Type String

EntityImageId

Ajouté par : solution Activities Patch

Propriété Valeur
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName entityimageid
RequiredLevel None
Type Uniqueidentifier

IsManaged

Propriété Valeur
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

Choix/Options IsManaged

Valeur Étiquette Description
1 Managed
0 Unmanaged

Valeur par défaut : 0

IsRecommended

Propriété Valeur
Description Indicates if a template is recommended by Dynamics 365.
DisplayName Recommended
IsValidForForm True
IsValidForRead True
LogicalName isrecommended
RequiredLevel None
Type Boolean

Choix/Options IsRecommended

Valeur Étiquette Description
1 Yes
0 No

Valeur par défaut : 0

ModifiedBy

Propriété Valeur
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

Propriété Valeur
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedbyname
MaxLength 100
RequiredLevel None
Type String

ModifiedByYomiName

Propriété Valeur
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedbyyominame
MaxLength 100
RequiredLevel None
Type String

ModifiedOn

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfbyname
MaxLength 100
RequiredLevel None
Type String

ModifiedOnBehalfByYomiName

Propriété Valeur
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfbyyominame
MaxLength 100
RequiredLevel None
Type String

OpenCount

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
DateTimeBehavior UserLocal
Description For internal use only.
DisplayName Record Overwrite Time
Format DateOnly
IsValidForForm False
IsValidForRead True
LogicalName overwritetime
RequiredLevel SystemRequired
Type DateTime

OwnerIdName

Propriété Valeur
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName owneridname
MaxLength 100
RequiredLevel SystemRequired
Type String

OwnerIdYomiName

Propriété Valeur
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName owneridyominame
MaxLength 100
RequiredLevel SystemRequired
Type String

OwningBusinessUnit

Propriété Valeur
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

Propriété Valeur
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName owningbusinessunitname
MaxLength 160
RequiredLevel None
Type String

OwningTeam

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
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

Propriété Valeur
Description Unique identifier of the associated solution.
DisplayName Solution
IsValidForForm False
IsValidForRead True
LogicalName solutionid
RequiredLevel SystemRequired
Type Uniqueidentifier

SupportingSolutionId

Propriété Valeur
Description For internal use only.
DisplayName Solution
IsValidForForm False
IsValidForRead False
LogicalName supportingsolutionid
RequiredLevel None
Type Uniqueidentifier

TemplateIdUnique

Propriété Valeur
Description For internal use only.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName templateidunique
RequiredLevel SystemRequired
Type Uniqueidentifier

UsedCount

Propriété Valeur
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

Propriété Valeur
Description Version number of the template.
DisplayName Version Number
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
MaxValue 9223372036854775807
MinValue -9223372036854775808
RequiredLevel None
Type BigInt

Relations un-à-plusieurs

Répertorié par SchemaName.

template_activity_mime_attachments

Identique à la relation plusieurs à un template_activity_mime_attachments pour la table/entité activitymimeattachment.

Propriété Valeur
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

Identique à la relation plusieurs à un Template_SyncErrors pour la table/entité syncerror.

Propriété Valeur
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

Identique à la relation plusieurs à un Template_AsyncOperations pour la table/entité asyncoperation.

Propriété Valeur
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

Identique à la relation plusieurs à un Email_EmailTemplate pour la table/entité email.

Propriété Valeur
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

Identique à la relation plusieurs à un Template_Organization pour la table/entité organization.

Propriété Valeur
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

Identique à la relation plusieurs à un Template_ProcessSessions pour la table/entité processsession.

Propriété Valeur
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

Identique à la relation plusieurs à un Template_BulkDeleteFailures pour la table/entité bulkdeletefailure.

Propriété Valeur
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

Relations plusieurs-à-un

Chaque relation plusieurs-à-un est définie par une relation un-à-plusieurs correspondante avec la table associée. Répertorié par SchemaName.

lk_templatebase_createdby

Voir la relation un à plusieurs lk_templatebase_createdby pour la table/entité systemuser.

lk_templatebase_modifiedby

Voir la relation un à plusieurs lk_templatebase_modifiedby pour la table/entité systemuser.

team_email_templates

Voir la relation un à plusieurs team_email_templates pour la table/entité team.

business_unit_templates

Voir la relation un à plusieurs business_unit_templates pour la table/entité businessunit.

system_user_email_templates

Voir la relation un à plusieurs system_user_email_templates pour la table/entité systemuser.

lk_templatebase_modifiedonbehalfby

Voir la relation un à plusieurs lk_templatebase_modifiedonbehalfby pour la table/entité systemuser.

lk_templatebase_createdonbehalfby

Voir la relation un à plusieurs lk_templatebase_createdonbehalfby pour la table/entité systemuser.

Voir aussi

Référence d’entité/de table Dataverse Référence d’API web template EntityType