Document
Stores documents and files uploaded to Salesforces 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 | Bool | 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 | Bool | 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 | Bool | 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. |
| LastModifiedById | String | True |
User.Id |
ID of the user who last modified the document. |
| IsBodySearchable | Bool | 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. | |
| SOQL | String | False |
Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | False |
Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | False |
Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. | |
| FullPath | String | False |
Pseudo column which is used to fill a document#TEMP temporary table, which is then used to upload multiple documents using the Uploaddocument stored procedure. See documentation for an example. | |
| FolderPath | String | False |
Pseudo column which is used to fill a document#TEMP temporary table, which is then used to upload multiple documents using the Uploaddocument stored procedure. See documentation for an example. | |
| Base64Data | String | False |
Pseudo column which is used to fill a document#TEMP temporary table, which is then used to upload multiple documents using the Uploaddocument stored procedure. See documentation for an example. | |
| SystemModstamp | Datetime | True |
Timestamp of the last system update for the document. | |
| LastModifiedDate | Datetime | True |
Date and time when the document was last modified. |