---
schema_version: "1"
id: a4e25379252dc120db21a923c1a47c7c88d1ecad2bd8299cd069532120dc1261
title: LifeSciMetadataAssignment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_lifescimetadataassignment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_lifescimetadataassignment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3963ac4f1e90a88f126a07bd97229612d1278b697361e5830f8056bbe952f16a
description: Represents the assignments for a Life Sciences configuration record. This object is a child of LifeSciMetadataRecord. This object is available in API version 65.0 and later.
---
# LifeSciMetadataAssignment

Represents the assignments for a Life Sciences configuration record. This object is a child of LifeSciMetadataRecord. This object is available in API version 65.0 and later.

![Important](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## Supported Calls

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

## Fields

### AssignedToId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: Required. The profile or user associated with the record.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: AssignedTo
- **Relationship Type**: Lookup
- **Refers To**: Profile, User

### AssignmentApiName

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Nillable, Sort, Update
- **Description**: Required. The API name of the assignment record.

### AssignmentLevel

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Required. Specifies the level of the assignment.
- **Possible values**:
    - Profile
    - User

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

### LifeSciMetadataRecordId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: Required. The configuration record associated with the assignment.
    
    This field is a relationship field.
- **Relationship Name**: LifeSciMetadataRecord
- **Relationship Type**: Master-detail
- **Refers To**: LifeSciMetadataRecord (the master object)

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the assignment record.

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

[LifeSciMetadataAssignmentFeed](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 tracked fields of the object.

[LifeSciMetadataAssignmentHistory](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.