# Content Document DMO

## Object Properties

**Object API Name:** `ssot__ContentDocument__dlm`\
**Category:** Unassigned\
**Availability:** Available in 254 and later versions\
**Primary Key Field:** Id

## Relationships

- **OwnerId** has a FOREIGNKEY relationship with the [User DMO](/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.
- **CreatedById** has a FOREIGNKEY relationship with the [User DMO](/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.
- **LatestPublishedVersionId** has a FOREIGNKEY relationship with the [Content Document Version DMO](/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-contentdocumentversiondmo-dmo.md) `Id` field.
- **LastModifiedById** has a FOREIGNKEY relationship with the [User DMO](/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.

## Fields

- [cdp_sys_record_currency](#cdp_sys_record_currency)
- [ContentDocumentPublishStatus](#contentdocumentpublishstatus)
- [ContentModifiedDate](#contentmodifieddate)
- [ContentModifiedDateTime](#contentmodifieddatetime)
- [ContentSizeNumber](#contentsizenumber)
- [CreatedById](#createdbyid)
- [CreatedDate](#createddate)
- [DataSourceId](#datasourceid)
- [DataSourceObjectId](#datasourceobjectid)
- [Description](#description)
- [ExternalRecordId](#externalrecordid)
- [ExternalSourceId](#externalsourceid)
- [FileExtensionName](#fileextensionname)
- [FileType](#filetype)
- [Id](#id)
- [InternalOrganizationId](#internalorganizationid)
- [IsArchived](#isarchived)
- [KQ_CreatedById](#kq_createdbyid)
- [KQ_Id](#kq_id)
- [KQ_LastModifiedById](#kq_lastmodifiedbyid)
- [KQ_LatestPublishedVersionId](#kq_latestpublishedversionid)
- [KQ_OwnerId](#kq_ownerid)
- [LastModifiedById](#lastmodifiedbyid)
- [LastModifiedDate](#lastmodifieddate)
- [LastViewedDateTime](#lastvieweddatetime)
- [LatestPublishedVersionId](#latestpublishedversionid)
- [OwnerId](#ownerid)
- [SystemModstamp](#systemmodstamp)
- [Title](#title)

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

### ContentDocumentPublishStatus

- **Field API Name:** `ssot__ContentDocumentPublishStatus__c`
- **Data Type:** TEXT
- **Description:** Indicates if and how the document is published. Possible values are:  - P—The document is published to a public library and is visible to other users. Label is Public.  - R—The document is published to a personal library and is not visible to other users. Label is Personal Library.  - U—The document is not published because publishing was interrupted. Label is Upload Interrupted. Maximum size is 15 characters.

### ContentModifiedDate

- **Field API Name:** `ssot__ContentModifiedDate__c`
- **Data Type:** DATEONLY
- **Description:** The Date the document was modified.

### ContentModifiedDateTime

- **Field API Name:** `ssot__ContentModifiedDateTime__c`
- **Data Type:** DATETIME
- **Description:** The date and time when the content was last modified.

### ContentSizeNumber

- **Field API Name:** `ssot__ContentSizeNumber__c`
- **Data Type:** DOUBLE
- **Description:** The size of the document in bytes.

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

### Description

- **Field API Name:** `ssot__Description__c`
- **Data Type:** TEXT
- **Description:** A description of the document.

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

### FileExtensionName

- **Field API Name:** `ssot__FileExtensionName__c`
- **Data Type:** TEXT
- **Description:** Required. File extension of the document. Maximum size is 255 characters.

### FileType

- **Field API Name:** `ssot__FileType__c`
- **Data Type:** TEXT
- **Description:** Type of document, determined by the file extension.

### Id

- **Field API Name:** `ssot__Id__c`
- **Data Type:** TEXT
- **Description:** Required. A unique, system-generated identifier for this ContentDocument 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.

### IsArchived

- **Field API Name:** `ssot__IsArchived__c`
- **Data Type:** BOOLEAN
- **Description:** Whether the document was archived (true) or not (false).

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

- **Field API Name:** `KQ_LatestPublishedVersionId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for LatestPublishedVersionId

### KQ_OwnerId

- **Field API Name:** `KQ_OwnerId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for OwnerId

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

### LastViewedDateTime

- **Field API Name:** `ssot__LastViewedDateTime__c`
- **Data Type:** DATETIME
- **Description:** The date and time of the last viewed date time.

### LatestPublishedVersionId

- **Field API Name:** `ssot__LatestPublishedVersionId__c`
- **Data Type:** TEXT
- **Description:** The ID of the latest document version (ContentVersion).

### OwnerId

- **Field API Name:** `ssot__OwnerId__c`
- **Data Type:** TEXT
- **Description:** The ID of the owner of this document.

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

### Title

- **Field API Name:** `ssot__Title__c`
- **Data Type:** TEXT
- **Description:** The title of a document.
