Document

Represents a file that a user has uploaded. Unlike Attachment records, documents are not attached to a parent object.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see Document in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
AuthorIdAuthor IDreference 18  
BodyBodybase64    
BodyLengthBody Lengthint8   
ContentTypeMIME Typestring 120  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DescriptionDescriptiontextarea 255  
DeveloperNameDocument Unique Namestring 80  
FolderIdFolder IDreference 18  
IdDocument IDid 18  
IsBodySearchableDocument Content Searchableboolean    
IsDeletedDeletedboolean    
IsInternalUseOnlyInternal Use Onlyboolean    
IsPublicExternally Availableboolean    
KeywordsKeywordsstring 255  
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
NameDocument Namestring 255  
NamespacePrefixNamespace Prefixstring 15  
SystemModstampSystem Modstampdatetime    
TypeFile Extensionstring 40  
UrlUrlstring 255