Compartir vía


Referencia de tabla o entidad Email Template (Template)

Nota

¿No está seguro de tabla frente a entidad? Vea Desarrolladores: comprender la terminología en Microsoft Dataverse.

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

Mensajes

Mensaje Operación de API web Método o clase de SDK
Assign PATCH [org URI]/api/data/v9.0/templates(templateid)
Actualizar propiedad ownerid.
AssignRequest
Create POST [org URI]/api/data/v9.0/templates
Vea Crear
CreateRequest o
Create
Delete DELETE [org URI]/api/data/v9.0/templates(templateid)
Vea Eliminar
DeleteRequest o
Delete
GrantAccess GrantAccess Action GrantAccessRequest
InstantiateTemplate InstantiateTemplate Action InstantiateTemplateRequest
ModifyAccess ModifyAccess Action ModifyAccessRequest
Retrieve GET [org URI]/api/data/v9.0/templates(templateid)
Vea Recuperar
RetrieveRequest o
Retrieve
RetrieveMultiple GET [org URI]/api/data/v9.0/templates
Vea Consultar datos
RetrieveMultipleRequest o
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)
Vea Actualizar
UpdateRequest o
Update

Propiedades

Propiedad Valor
CollectionSchemaName Templates
DisplayCollectionName Email Templates
DisplayName Email Template
EntitySetName templates
IsBPFEntity False
LogicalCollectionName templates
LogicalName template
OwnershipType UserOwned
PrimaryIdAttribute templateid
PrimaryNameAttribute title
SchemaName Template

Columnas/atributos que se pueden escribir

Estas columnas o atributos devuelven true para IsValidForCreate o IsValidForUpdate (generalmente ambos). Listado por SchemaName.

Body

Propiedad Valor
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

Propiedad Valor
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

Añadido por: solución Active Solution

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
Description Information that specifies whether this component can be customized.
DisplayName Customizable
IsValidForForm False
IsValidForRead True
LogicalName iscustomizable
RequiredLevel SystemRequired
Type ManagedProperty

IsPersonal

Propiedad Valor
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

Elecciones/opciones de IsPersonal

Valor Etiqueta Descripción
1 Individual
0 Organization

Valor predeterminado: 1

LanguageCode

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridtype
RequiredLevel SystemRequired
Type EntityName

PresentationXml

Propiedad Valor
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

Añadido por: solución Activities Patch

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
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

Añadido por: solución Activities Patch

Propiedad Valor
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

Propiedad Valor
Description Unique identifier of the template.
DisplayName Email Template
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName templateid
RequiredLevel SystemRequired
Type Uniqueidentifier

TemplateTypeCode

Propiedad Valor
Description Type of email template.
DisplayName Template Type
IsValidForForm False
IsValidForRead True
LogicalName templatetypecode
RequiredLevel SystemRequired
Type EntityName

Title

Propiedad Valor
Description Title of the template.
DisplayName Title
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName title
MaxLength 200
RequiredLevel ApplicationRequired
Type String

Columnas/atributos de sólo lectura

Estas columnas o atributos devuelven false tanto para IsValidForCreate como para IsValidForUpdate. Listado por SchemaName.

ComponentState

Propiedad Valor
Description For internal use only.
DisplayName Component State
IsValidForForm False
IsValidForRead True
LogicalName componentstate
RequiredLevel SystemRequired
Type Picklist

Elecciones/opciones de ComponentState

Valor Etiqueta Descripción
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished

CreatedBy

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyname
MaxLength 100
RequiredLevel None
Type String

CreatedOnBehalfByYomiName

Propiedad Valor
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyyominame
MaxLength 100
RequiredLevel None
Type String

EntityImage_Timestamp

Añadido por: solución Activities Patch

Propiedad Valor
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName entityimage_timestamp
MaxValue 9223372036854775807
MinValue -9223372036854775808
RequiredLevel None
Type BigInt

EntityImage_URL

Añadido por: solución Activities Patch

Propiedad Valor
Description
DisplayName
FormatName Url
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName entityimage_url
MaxLength 200
RequiredLevel None
Type String

EntityImageId

Añadido por: solución Activities Patch

Propiedad Valor
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName entityimageid
RequiredLevel None
Type Uniqueidentifier

IsManaged

Propiedad Valor
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

Elecciones/opciones de IsManaged

Valor Etiqueta Descripción
1 Managed
0 Unmanaged

Valor predeterminado: 0

IsRecommended

Propiedad Valor
Description Indicates if a template is recommended by Dynamics 365.
DisplayName Recommended
IsValidForForm True
IsValidForRead True
LogicalName isrecommended
RequiredLevel None
Type Boolean

Elecciones/opciones de IsRecommended

Valor Etiqueta Descripción
1 Yes
0 No

Valor predeterminado: 0

ModifiedBy

Propiedad Valor
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

Propiedad Valor
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedbyname
MaxLength 100
RequiredLevel None
Type String

ModifiedByYomiName

Propiedad Valor
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedbyyominame
MaxLength 100
RequiredLevel None
Type String

ModifiedOn

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfbyname
MaxLength 100
RequiredLevel None
Type String

ModifiedOnBehalfByYomiName

Propiedad Valor
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfbyyominame
MaxLength 100
RequiredLevel None
Type String

OpenCount

Propiedad Valor
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

Propiedad Valor
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

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

OwnerIdName

Propiedad Valor
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName owneridname
MaxLength 100
RequiredLevel SystemRequired
Type String

OwnerIdYomiName

Propiedad Valor
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName owneridyominame
MaxLength 100
RequiredLevel SystemRequired
Type String

OwningBusinessUnit

Propiedad Valor
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

Propiedad Valor
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName owningbusinessunitname
MaxLength 160
RequiredLevel None
Type String

OwningTeam

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
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

Propiedad Valor
Description Unique identifier of the associated solution.
DisplayName Solution
IsValidForForm False
IsValidForRead True
LogicalName solutionid
RequiredLevel SystemRequired
Type Uniqueidentifier

SupportingSolutionId

Propiedad Valor
Description For internal use only.
DisplayName Solution
IsValidForForm False
IsValidForRead False
LogicalName supportingsolutionid
RequiredLevel None
Type Uniqueidentifier

TemplateIdUnique

Propiedad Valor
Description For internal use only.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName templateidunique
RequiredLevel SystemRequired
Type Uniqueidentifier

UsedCount

Propiedad Valor
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

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

Relaciones de uno a varios

Listado por SchemaName.

template_activity_mime_attachments

Igual que la relación de varios a uno template_activity_mime_attachments de la tabla activitymimeattachment.

Propiedad Valor
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

Igual que la relación de varios a uno Template_SyncErrors de la tabla syncerror.

Propiedad Valor
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

Igual que la relación de varios a uno Template_AsyncOperations de la tabla asyncoperation.

Propiedad Valor
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

Igual que la relación de varios a uno Email_EmailTemplate de la tabla email.

Propiedad Valor
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

Igual que la relación de varios a uno Template_Organization de la tabla organization.

Propiedad Valor
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

Igual que la relación de varios a uno Template_ProcessSessions de la tabla processsession.

Propiedad Valor
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

Igual que la relación de varios a uno Template_BulkDeleteFailures de la tabla bulkdeletefailure.

Propiedad Valor
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

Relaciones de varios a uno

Cada relación de varios a uno se define mediante una relación de uno a varios correspondiente con la tabla relacionada. Listado por SchemaName.

lk_templatebase_createdby

Consulte la relación de uno a varios lk_templatebase_createdby de la tabla systemuser.

lk_templatebase_modifiedby

Consulte la relación de uno a varios lk_templatebase_modifiedby de la tabla systemuser.

team_email_templates

Consulte la relación de uno a varios team_email_templates de la tabla team.

business_unit_templates

Consulte la relación de uno a varios business_unit_templates de la tabla businessunit.

system_user_email_templates

Consulte la relación de uno a varios system_user_email_templates de la tabla systemuser.

lk_templatebase_modifiedonbehalfby

Consulte la relación de uno a varios lk_templatebase_modifiedonbehalfby de la tabla systemuser.

lk_templatebase_createdonbehalfby

Consulte la relación de uno a varios lk_templatebase_createdonbehalfby de la tabla systemuser.

Consultar también

Referencia de tabla o entidad de Dataverse Referencia de la API web template EntityType