Loading
PHP Vulnerability Monitoring Read More
Extend Salesforce with Clicks, Not Code
Map Salesforce External Object Field to DynamoDB Attributes

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
Note When you manually create fields for an external object, make sure the mapped attributes are of a compatible type.
 
Loading
Salesforce Help | Article