---
schema_version: "1"
id: 49aabe026dcd9254250a865d2de43e3ffb9d03e447676c860d1b949cfe5641c6
title: AssessmentTaskContentDocument
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/sforce_api_objects_assessmenttaskcontentdocument.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_objects_assessmenttaskcontentdocument.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6bd3ec4585008ef68c066d67f75981d56761674cbf2368d039853dca3253aeb0
description: Associate content documents to visits, tasks, promotions, or planograms. This object is available in API version 47.0 and later.
---
# AssessmentTaskContentDocument

Associate content documents to visits, tasks, promotions, or planograms. This object is available in API version 47.0 and later.

## Supported Calls

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

## Fields

### AssessmentTaskId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: ID of the assessment task.

### ContentContextId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: ID of the attachment or file used as the content document for a custom object that is associated with a task. The IDs are validated against ActionPlanTemplateType.

### ContentDocumentId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: ID of the attachment or file used as the content document.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user referenced this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user viewed this record.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: Unique identifier of the content document.

## Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

- **[AssessmentTaskContentDocumentHistory](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/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 the object.