JDBC Driver for Salesforce

Build 26.0.9770

ContentDocument

Stores documents uploaded to Salesforce, such as files attached to records or stored in libraries.

Columns

Name Type ReadOnly References Description
Id [KEY] String True

Unique identifier of the content document.

CreatedById String True

User.Id

ID of the user who created the content document.

CreatedDate Datetime True

Date and time when the content document was created.

LastModifiedById String True

User.Id

ID of the user who last modified the content document.

IsArchived Bool False

Indicates whether the content document is archived (true) or not (false).

ArchivedById String True

User.Id

ID of the user who archived the content document.

ArchivedDate Date True

Date and time when the content document was archived.

IsDeleted Bool True

Indicates whether the content document has been deleted (true) or not (false).

OwnerId String False

User.Id

ID of the owner of the content document.

Title String False

Title of the content document.

PublishStatus String True

Status of the document's publishing state, such as 'Published' or 'Draft'.

LatestPublishedVersionId String True

ContentVersion.Id

ID of the most recently published version of the document.

ParentId String False

ContentWorkspace.Id

ID of the parent object in the hierarchy.

LastViewedDate Datetime True

Date and time when the content document was last viewed.

LastReferencedDate Datetime True

Date and time when the content document was last referenced.

Description String False

Text description of the record.

ContentSize Int True

Field containing ContentSize information.

ContentSizeLong String True

Size, in bytes, of the file's content, supporting large file sizes.

FileType String True

Type classification for File.

FileExtension String True

Field containing FileExtension information.

SharingOption String False

Field containing SharingOption information.

SharingPrivacy String False

Field containing SharingPrivacy information.

ContentModifiedDate Datetime True

Date associated with ContentModified.

ContentAssetId String False

ContentAsset.Id

ID of the ContentAsset associated with this record.

IsInternalOnly Bool False

Indicates whether the record has the InternalOnly characteristic.

MalwareScanStatus String True

Status of the malware scan performed on the file.

MalwareScanDate Datetime True

Date and time when the malware scan was performed on the file.

SystemModstamp Datetime True

System-generated timestamp for tracking the last modification.

LastModifiedDate Datetime True

Date and time when the content document was last modified.

Pseudocolumns

Pseudocolumn fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
SOQL String

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

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

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

Pseudo column which is used to fill a contentdocument#TEMP temporary table, which is then used to upload multiple contentdocuments using the Uploadcontentdocument stored procedure. See documentation for an example.

FolderPath String

Pseudo column which is used to fill a contentdocument#TEMP temporary table, which is then used to upload multiple contentdocuments using the Uploadcontentdocument stored procedure. See documentation for an example.

Base64Data String

Pseudo column which is used to fill a contentdocument#TEMP temporary table, which is then used to upload multiple contentdocuments using the Uploadcontentdocument stored procedure. See documentation for an example.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770