Document
Stores documents and files uploaded to Salesforce's legacy Document Library.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier of the document. | |
| FolderId | String | False |
ID of the folder where the document is stored. | |
| IsDeleted | Boolean | True |
Indicates whether the document has been deleted. | |
| Name | String | False |
Name of the document as displayed in Salesforce. | |
| DeveloperName | String | False |
Unique name used to reference the document programmatically. | |
| NamespacePrefix | String | True |
Namespace prefix associated with the document, if applicable. | |
| ContentType | String | False |
Multipurpose Internet Mail Extensions (MIME) type of the document, such as 'application/pdf' or 'image/png'. | |
| Type | String | False |
File extension of the document, such as 'pdf' or 'docx'. | |
| IsPublic | Boolean | False |
Indicates whether the document is publicly accessible outside the organization. | |
| BodyLength | Int | True |
Size of the document body in bytes. | |
| Body | String | False |
Base64-encoded content of the document. | |
| Url | String | False |
URL to access the document, if applicable. | |
| Description | String | False |
Description of the document's content or purpose. | |
| Keywords | String | False |
Comma-separated list of keywords associated with the document. | |
| IsInternalUseOnly | Boolean | False |
Indicates whether the document is restricted to internal use only. | |
| AuthorId | String | False |
User.Id |
ID of the user who authored or uploaded the document. |
| CreatedDate | Datetime | True |
Date and time when the document was created. | |
| CreatedById | String | True |
User.Id |
ID of the user who created the document. |
| LastModifiedDate | Datetime | True |
Date and time when the document was last modified. | |
| LastModifiedById | String | True |
User.Id |
ID of the user who last modified the document. |
| SystemModstamp | Datetime | True |
Timestamp of the last system update for the document. | |
| IsBodySearchable | Boolean | True |
Indicates whether the document's content is searchable. | |
| LastViewedDate | Datetime | True |
Date and time when the document was last viewed. | |
| LastReferencedDate | Datetime | True |
Date and time when the document was last referenced in Salesforce. |