ContentDocument

Represents a document that has been uploaded to a library in Salesforce CRM Content or Salesforce Files. This object is available in versions 17.0 and later for Salesforce CRM Content. 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.

Fields

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
CreatedById Created By ID reference 18
CreatedDate Created datetime
Description Description textarea 1000
FileExtension File Extension string 40
FileType File Type string 20
Id ContentDocument 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
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