ODBC Driver for Salesforce

Build 25.0.9434

Attachment

Stores file attachments related to various Salesforce records, such as accounts, opportunities, or cases.

Columns

Name Type ReadOnly References Description
Id [KEY] String True

Unique identifier for the attachment record.

IsDeleted Bool True

Indicates whether the attachment has been deleted from Salesforce.

ParentId String False

ID of the parent record the attachment is associated with, such as an Account, Case, or Opportunity.

ParentIdType String False

Specifies the type of the 'ParentId' polymorphic field to use in the statement.

ParentIdExternalFieldName String False

Specifies the external field name of the 'ParentId' polymorphic field to use in an INSERT/UPDATE/UPSERT statement

Name String False

The name of the attached file, including its file extension.

IsPrivate Bool False

Specifies whether the attachment is private. Private attachments are accessible only to the owner and users above them in the role hierarchy.

ContentType String False

The MIME type of the attached file, such as application/pdf or image/jpeg.

BodyLength Int True

The size of the attached file, in bytes.

Body String False

The file content of the attachment, stored in Base64 format.

OwnerId String False

ID of the user who owns the attachment.

OwnerIdType String False

Specifies the type of the 'OwnerId' polymorphic field to use in the statement.

OwnerIdExternalFieldName String False

Specifies the external field name of the 'OwnerId' polymorphic field to use in an INSERT/UPDATE/UPSERT statement

CreatedDate Datetime True

Date and time when the attachment was created.

CreatedById String True

User.Id

ID of the user who created the attachment.

CreatedByIdType String False

Specifies the type of the 'CreatedById' polymorphic field to use in the statement.

CreatedByIdExternalFieldName String False

Specifies the external field name of the 'CreatedById' polymorphic field to use in an INSERT/UPDATE/UPSERT statement

LastModifiedById String True

User.Id

ID of the user who last modified the attachment.

LastModifiedByIdType String False

Specifies the type of the 'LastModifiedById' polymorphic field to use in the statement.

LastModifiedByIdExternalFieldName String False

Specifies the external field name of the 'LastModifiedById' polymorphic field to use in an INSERT/UPDATE/UPSERT statement

Description String False

Optional text description providing additional details about the attachment.

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 attachment#TEMP temporary table, which is then used to upload multiple attachments using the Uploadattachment stored procedure. See documentation for an example.

FolderPath String False

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

Base64Data String False

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

ObjectId String False

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

FileName String False

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

LightningMode String False

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

SystemModstamp Datetime True

Timestamp of the last system-level update to the attachment record.

LastModifiedDate Datetime True

Date and time when the attachment was last modified.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434