---
schema_version: "1"
id: c5cc994959cf6a587a741ba6f30e026acb199750b4d6d79b6d6aa167cf8e68da
title: Content Document Relationship DMO
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-dmo-mapping/guides/std_dmos/c360dm-si-contentdocumentrelationshipdmo-dmo.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-contentdocumentrelationshipdmo-dmo.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b03dcc1d6dd526308582823d93dce5e24df862952b8a03ef31b96f8e897a9a2d
products:
  - Data 360 DMO and Mapping Guide
  - Data 360 Developer Documentation
---
# Content Document Relationship DMO

## Object Properties

**Object API Name:** `ssot__ContentDocumentRelationship__dlm`  
**Category:** Unassigned  
**Availability:** Available in 254 and later versions  
**Primary Key Field:** Id  

## Relationships

- **ContentDocumentId** has a FOREIGNKEY relationship with the [Content Document DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-contentdocumentdmo-dmo.md) `Id` field.
- **RelatedItemId** has a FOREIGNKEY relationship with the [Knowledge Article Version DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-knowledgearticleversiondmo-dmo.md) `Id` field.
- **RelatedItemId** has a FOREIGNKEY relationship with the [Case DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-casedmo-dmo.md) `Id` field.
- **RelatedItemId** has a FOREIGNKEY relationship with the [Email Template Snapshot DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-emailtemplatesnapshotdmo-dmo.md) `Id` field.
- **RelatedItemId** has a FOREIGNKEY relationship with the [Email Template Fragment DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-emailtemplatefragmentdmo-dmo.md) `Id` field.
- **RelatedItemId** has a FOREIGNKEY relationship with the [Document Playbook Version DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-documentplaybookversiondmo-dmo.md) `Id` field.
- **LastModifiedById** has a FOREIGNKEY relationship with the [User DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.
- **CreatedById** has a FOREIGNKEY relationship with the [User DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.


## Fields

- [cdp_sys_record_currency](#cdp_sys_record_currency)
- [ContentDocumentId](#contentdocumentid)
- [CreatedById](#createdbyid)
- [CreatedDate](#createddate)
- [DataSourceId](#datasourceid)
- [DataSourceObjectId](#datasourceobjectid)
- [ExternalRecordId](#externalrecordid)
- [ExternalSourceId](#externalsourceid)
- [Id](#id)
- [InternalOrganizationId](#internalorganizationid)
- [KQ_ContentDocumentId](#kq_contentdocumentid)
- [KQ_CreatedById](#kq_createdbyid)
- [KQ_Id](#kq_id)
- [KQ_LastModifiedById](#kq_lastmodifiedbyid)
- [KQ_RelatedItemId](#kq_relateditemid)
- [LastModifiedById](#lastmodifiedbyid)
- [LastModifiedDate](#lastmodifieddate)
- [RelatedItemId](#relateditemid)
- [RelatedToObject](#relatedtoobject)
- [SystemModstamp](#systemmodstamp)

### cdp_sys_record_currency

- **Field API Name:** `ssot__cdp_sys_record_currency__c`
- **Data Type:** TEXT
- **Description:** System-generated metadata field that stores a 3-letter ISO currency code.

### ContentDocumentId

- **Field API Name:** `ssot__ContentDocumentId__c`
- **Data Type:** TEXT
- **Description:** Required. ID of the document. This is a relationship field. Maximum size is 15 characters.

### CreatedById

- **Field API Name:** `ssot__CreatedById__c`
- **Data Type:** TEXT
- **Description:** The user who created the record.

### CreatedDate

- **Field API Name:** `ssot__CreatedDate__c`
- **Data Type:** DATETIME
- **Description:** The date and time when this record was created.

### DataSourceId

- **Field API Name:** `ssot__DataSourceId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### DataSourceObjectId

- **Field API Name:** `ssot__DataSourceObjectId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### ExternalRecordId

- **Field API Name:** `ssot__ExternalRecordId__c`
- **Data Type:** TEXT
- **Description:** The corresponding record Id from an external data source system.

### ExternalSourceId

- **Field API Name:** `ssot__ExternalSourceId__c`
- **Data Type:** TEXT
- **Description:** Corresponding record Id from external data source system.

### Id

- **Field API Name:** `ssot__Id__c`
- **Data Type:** TEXT
- **Description:** Required. A unique, system-generated identifier for this ContentDocumentRelationship record. Maximum size is 15 characters.

### InternalOrganizationId

- **Field API Name:** `ssot__InternalOrganizationId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### KQ_ContentDocumentId

- **Field API Name:** `KQ_ContentDocumentId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for ContentDocumentId

### KQ_CreatedById

- **Field API Name:** `KQ_CreatedById__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for CreatedById

### KQ_Id

- **Field API Name:** `KQ_Id__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for Id

### KQ_LastModifiedById

- **Field API Name:** `KQ_LastModifiedById__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for LastModifiedById

### KQ_RelatedItemId

- **Field API Name:** `KQ_RelatedItemId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for RelatedItemId

### LastModifiedById

- **Field API Name:** `ssot__LastModifiedById__c`
- **Data Type:** TEXT
- **Description:** The user who most recently changed the record.

### LastModifiedDate

- **Field API Name:** `ssot__LastModifiedDate__c`
- **Data Type:** DATETIME
- **Description:** The date and time when a user last modified this record.

### RelatedItemId

- **Field API Name:** `ssot__RelatedItemId__c`
- **Data Type:** TEXT
- **Description:** Required. ID of the linked object. Can include Chatter users, groups, records (any that support Chatter feed tracking including custom objects), Experience Cloud sites, and Salesforce CRM Content libraries. Using the API only, you can relate notes to custom settings. This is a polymorphic relationship field. Maximum size is 15 characters.

### RelatedToObject

- **Field API Name:** `ssot__RelatedToObject__c`
- **Data Type:** TEXT
- **Description:** The domain object name of the ContentDocumentRelationship record, for example Knowledge Article Version, Opportunity, Campaign or Case.

### SystemModstamp

- **Field API Name:** `ssot__SystemModstamp__c`
- **Data Type:** DATETIME
- **Description:** The date and time when this record was last modified by a user or by an automated process.
