---
schema_version: "1"
id: ba4d2ffc26b2650de5856f749823462443c3ca72a8a0ca2fb28449d704417704
title: LifeScienceEmailFragment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_lifescienceemailfragment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_lifescienceemailfragment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 749d99c0a6b08e792f8dc16c7958601842d1a85e71a26d2736595040180c16a8
description: Represents a record of an email template fragment that a user selected and included in a sent life science email, capturing the content version at send time. This object is available in API version 68.0 and later.
---
# LifeScienceEmailFragment

Represents a record of an email template fragment that a user selected and included in a sent life science email, capturing the content version at send time. This object is available in API version 68.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Fields

### ContentVersionId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The content version record that stores the content of the fragment the user selected and inserted into the email.
    
    This field is a relationship field.
- **Relationship Name**: ContentVersion
- **Refers To**: ContentVersion

### 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 LastReferencedDate is not null, the user accessed this record or list view indirectly.

### LifeSciEmailTmplFragmentId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The fragment that the user selected and inserted into the email.
    
    This field is a relationship field.
- **Relationship Name**: LifeSciEmailTmplFragment
- **Refers To**: LifeSciEmailTmplFragment

### LifeScienceEmailId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: Required. The sent email that contains the fragment the user selected.
    
    This field is a relationship field.
- **Relationship Name**: LifeScienceEmail
- **Relationship Type**: Master-detail
- **Refers To**: LifeScienceEmail (the master object)

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: An automatically generated unique identifier for the record.

### 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.

## 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.

[LifeScienceEmailFragmentFeed](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[LifeScienceEmailFragmentHistory](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.