---
schema_version: "1"
id: cafffec754daabe585d43e98f96ae0b2b653e4c2cfbe98ce6177732c41ea0ea9
title: Content Document Composite
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/uiapi/ui_api_responses_contentdocumentcomposite.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_contentdocumentcomposite.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2af2313845dee01fc06abfb08e534b0dab3533a318d7f940c6781adfbcf7fdf2
description: The file and its relationship to a record.
---
# Content Document Composite

The file and its relationship to a record.

| Property Name | Type | Description | Filter Group and Version | Available Version |
| --- | --- | --- | --- | --- |
| contentDocument | [Record](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_record.htm "The field data, API name, child relationship data, and record type information for a record.") | The record associated with the content document. | Small, 56.0 | 56.0 |
| contentDocumentLinks | [Record](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_record.htm "The field data, API name, child relationship data, and record type information for a record.")\[\] | The relationship between a record and a content document. | Small, 56.0 | 56.0 |
| contentVersion | [Record](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_record.htm "The field data, API name, child relationship data, and record type information for a record.") | The record associated with the content document. Creating a new content version also creates a content document. | Small, 56.0 | 56.0 |

#### See Also

- [Upload a File](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_records_contentversion.htm "Upload a file such as a document or image.")
- [Upload a New File Version](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_records_contentdocument.htm "Upload a new document or image version.")