ContentDocument
Represents a document that was uploaded to a library in Salesforce Files or Salesforce CRM content. This object is available in versions 17.0 and later for Salesforce CRM.This object is available in API version 21.0 and later for Salesforce Files.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see ContentDocument in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
ArchivedById | User ID | reference | 18 | |||
ArchivedDate | Archived Date | date | ||||
ContentAssetId | Asset File ID | reference | 18 | |||
ContentModifiedDate | Content Modified Date | datetime | ||||
ContentSize | Size | int | 9 | |||
ContentSizeLong | Size | long | 18 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created | datetime | ||||
Description | Description | textarea | 1000 | |||
FileExtension | File Extension | string | 40 | |||
FileType | File Type | string | 20 | |||
Id | Content Document ID | id | 18 | |||
IsArchived | Is Archived | boolean | ||||
IsDeleted | Is Deleted | boolean | ||||
IsInternalOnly | Is Internal Only | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
LastReferencedDate | Last Referenced Date | datetime | ||||
LastViewedDate | Last Viewed Date | datetime | ||||
LatestPublishedVersionId | Latest Published Version ID | reference | 18 | |||
MalwareScanDate | Malware Scan Date | datetime | ||||
MalwareScanStatus | Malware Scan Status | picklist | 40 | |||
OwnerId | Owner ID | reference | 18 | |||
ParentId | Parent ID | reference | 18 | |||
PublishStatus | Publish Status | picklist | 40 | |||
SharingOption | Prevent others from sharing and unsharing | picklist | 40 | |||
SharingPrivacy | File Privacy on Records | picklist | 40 | |||
SystemModstamp | System Modstamp | datetime | ||||
Title | Title | string | 255 |
Feed tracking for ContentDocument.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameFeed in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
BestCommentId | Best Comment ID | reference | 18 | |||
Body | Body | textarea | 10000 | |||
CommentCount | Comment Count | int | 9 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
Id | Feed Item ID | id | 18 | |||
InsertedById | InsertedBy ID | reference | 18 | |||
IsDeleted | Deleted | boolean | ||||
IsRichText | Is Rich Text | boolean | ||||
LastModifiedDate | Last Modified Date | datetime | ||||
LikeCount | Like Count | int | 9 | |||
LinkUrl | Link URL | url | 1000 | |||
NetworkScope | Network Scope | picklist | 40 | |||
ParentId | Parent ID | reference | 18 | |||
RelatedRecordId | Related Record ID | reference | 18 | |||
SystemModstamp | System Modstamp | datetime | ||||
Title | Title | string | 255 | |||
Type | Feed Item Type | picklist | 40 | |||
Visibility | Visibility | picklist | 40 |
Represents the history of a document. This object is available in versions 17.0 and later.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see ContentDocumentHistory in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
ContentDocumentId | Content Document ID | reference | 18 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataType | Datatype | picklist | 40 | |||
Field | Changed Field | picklist | 255 | |||
Id | Content Document ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 |