Map Salesforce External Object Field to DynamoDB
Attributes
External object fields of Salesforce Connect Adapter for Amazon DynamoDB can be mapped
to attributes of string, number, and boolean scalar types. If an attribute of string type that
represents a date or a timestamp is mapped to an external object field, then date, dateTime, or
time must be stored in ISO 8601 format.
Required Editions
Available in: both Salesforce Classic
and Lightning Experience
Available in: Developer Edition
Available for an extra cost in:
Enterprise, Performance, and Unlimited Editions
This table lists Amazon DynamoDB attribute types supported for field types of external
objects in Salesforce.
Amazon DynamoDB Shorthand Data Type
Amazon DynamoDB Data Type
Salesforce External Object Field Type
S
String
Text
Mapped as is.
N
Number
Number
Mapped to default precision and scale, which you can
override.
BOOL
Boolean
Checkbox
Mapped as is.
Following is the mapping strategy of Amazon DynamoDB attribute types to some of the common
field types of external objects in Salesforce:
An attribute of string type that represents a date or dateTime is stored in ISO 8601
format.
An attribute of string type that represents a time is stored in a format used by
TIMEVALUE() or TEXT() function.
An attribute of number type that represents currency is stored as a numeric value using
the currency symbol configured for the Salesforce org.
An attribute of string type that represents a picklist is rendered as Salesforce defined
enumeration values. For picklist (multi-select), it is stored as comma-separated values of
the selected choices.
An attribute of number type that represents a percent is stored as a numeric value of
percent type.
An attribute of string type that represents a phone, URL, textarea, or email is stored as
the corresponding Salesforce field type.
External object fields cannot be mapped to these attributes types:
Scalar Types: Binary, Null
Document Types: Map, List
Sets of number, string, or binary values
Note When you manually create fields for an external object, make sure the mapped attributes
are of a compatible type.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.