Stores the different versions of an email template for tracking
purposes. This object is available in API version 65.0 and later.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()
Fields
ActivatedDate
- Type: dateTime
- Properties: Create, Filter, Sort, Update
- Description: Required. The date when the template version is activated. Template version becomes active immediately after uploading.
CalendarFileDescription
- Type: textarea
- Properties: Create, Nillable, Update
- Description: The description to include in the .ics attachment that's sent with the email.
DeactivatedDate
- Type: dateTime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The date when the template version is deactivated. The template version becomes inactive when a new version is uploaded.
EmailBody
- Type: textarea
- Properties: Create, Nillable, Update
- Description: The body of the email template, when the email is an invitation.
EmailSubject
- Type: string
- Properties: Create, Filter, Group, Sort, Update
- Description: Required. The email subject.
EmailTemplateId
- Type: reference
- Properties: Create, Filter, Group, Sort
-
Description: Required. The related email template.
This field is a relationship field.
- Relationship Name: EmailTemplate
- Relationship Type: Master-detail
- Refers To: LifeSciEmailTemplate (the master object)
FileIdentifier
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The unique key that identifies email templates files for retrieval when stored in Content Document records.
FileName
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The email template .zip file name.
Language
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The combined language and locale ISO code, which controls the language of the LifeSciEmailTmplSnapshot.
LastReferencedDate
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.
LastViewedDate
- Type: dateTime
- Properties: Filter, Nillable, Sort
-
Description: The timestamp when the current user last viewed this record or
list view.
If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.
Name
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: Required. An automatically generated unique identifier for the record in the format ET-{0000000000}.
SourceSystemIdentifier
- Type: string
- Properties: Create, Filter, Group, idLookup, Nillable, Sort, Update
- Description: An external ID from the source system for data integrations.
SourceSystemName
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The name of the source system for data integrations.
Status
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: Required. Determines if the email template version is active or inactive.
-
Possible values:
- Active
- Inactive
VersionNumber
- Type: int
- Properties: Create, Filter, Group, Sort, Update
- Description: Required. The version of the email template.
Associated Objects
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
- LifeSciEmailTmplSnapshotChangeEvent
- Change events are available for the object.
- LifeSciEmailTmplSnapshotFeed
- Feed tracking is available for the object.
- LifeSciEmailTmplSnapshotHistory
- History is available for tracked fields of the object.