Define array fields in the UI
- Topics:
- Schemas
CREATED FOR:
- Developer
When defining an Experience Data Model (XDM) field in the Adobe Experience Platform user interface, you can designate that field as an array.
The contents of the array depend on the Type selected for that field. For example, if a field’s Type is set to “String”, setting that field as an array will designate the field as an array of strings. If the field’s Type is set to a multi-field data type such as “Postal address”, then it would become an array of postal-address objects that conform to the data type.
After you have defined a new field in the UI, you can set it as an array field by selecting the Array checkbox in the right rail.
Once the checkbox is selected, additional controls appear in the right rail that allow you to optionally constrain the array further. If you do not wish to enforce a particular constraint, leave the field blank.
The additional configuration controls for arrays are as follows:
Field property | Description |
---|---|
Minimum length | The minimum number of items that the array must contain in order for ingestion to be successful. |
Maximum length | The maximum number of items that the array must contain in order for ingestion to be successful. |
Unique items only | If set to “True”, each item in the array must be unique in order for ingestion to be successful. |
Once you are finished configuring the field, select Apply to apply the change to the schema.
The canvas updates to reflect the changes made to the field. Note that the data type displayed next to the field name in the canvas is appended with a pair of square brackets ([]
), indicating the field represents an array of that data type.
Next steps
This guide covered how to define an array field in the UI. See the overview on defining fields in the UI to learn how to define other XDM field types in the Schema Editor.
Experience Platform
- XDM System overview
- Schemas
- Classes
- Field groups
- XDM Individual Profile
- Consents and Preferences
- Demographic Details
- Healthcare Member Details
- IAB TCF 2.0 Consent
- IdentityMap
- Loyalty Details
- Personal Contact Details
- Profile Partner Enrichment (Sample)
- Segment Membership Details
- Telecom Subscription
- Work Contact Details
- XDM Business Person Components
- XDM Business Person Details
- XDM Individual Prospect Profile
- XDM ExperienceEvent
- Adobe Analytics Full Extension
- Advertising Details
- Application Details
- Balance Transfers
- Bot Detection
- Campaign Marketing Details
- Card Actions
- Channel Details
- Commerce Details
- Deposit Details
- Device Trade-In Details
- Dining Reservation
- End User ID Details
- Environment Details
- Flight Reservation
- IAB TCF 2.0 Consent
- Lodging Reservation
- MediaAnalytics Interaction Details
- Quote Request Details
- Reservation Details
- Sitetool Details
- Support Site Search
- Upgrade Details
- Upsell Details
- Web Details
- XDM Business Campaign
- XDM Business Campaign Members
- Medication
- Plan
- Product
- Provider
- Shared
- Field group name updates
- XDM Individual Profile
- Data types
- Account Details
- Ad Break
- Address
- Advertising Details Collection
- Advertising Details Reporting
- Advertising Pod Details Collection
- Advertising Pod Details Reporting
- Application
- B2B Source
- Beacon
- Browser Details
- Cart
- Category Data
- Chapter Details Collection
- Chapter Details Reporting
- Commerce Scope
- Commerce
- Consent String
- Consents & Preferences
- Currency
- Custom Metadata Details Collection
- Custom Metadata Details Reporting
- Device
- Email Address
- Environment
- Error Details Collection
- Experience Channel
- External Source System Audit Attributes
- Financial Account
- Generic Consent Field
- Generic Marketing Preference Field with Subscriptions
- Generic Marketing Preference Field
- Generic Personalization Preference Field
- Geo Circle
- Geo Coordinates
- Geo Shape
- Geo Interaction Details
- Geo
- Identity
- Implementation Details
- Impressions
- Internal Site Search
- Key Value Pair
- List of States End Collection
- List of States Start Collection
- Marketing
- Measure
- Media Collection Details
- Media Event Information
- Media Reporting Details
- Order
- POI Details
- POI Interaction
- Payment Item
- Person Name
- Person
- Phone Number
- Place Context
- Player State Data Reporting
- Postal Address
- Product List Item
- QoE (Quality of Experience) Data Details Collection
- QoE Data Details Reporting
- Refund Item
- Requisition List
- Return Item
- Return
- Search
- Session Details Collection
- Session Details Reporting
- Shipping
- Subscription
- Telecom Subscription
- Transaction
- Web Information
- Web Interaction
- Web Page Details
- Schemas UI
- Schema Registry API
- Tutorials
- Create a schema in the UI
- Create a schema in the API
- Add specific fields to a schema (API)
- Define custom fields (API)
- Add suggested values to a field (API)
- Deprecate an XDM field in the UI
- Deprecate an XDM field in the API
- Define a schema relationship in the UI
- Define a schema relationship in the API
- Define a schema relationship in Real-Time CDP B2B Edition
- Manage data usage labels for a schema
- Create an ad hoc schema
- Troubleshooting guide
- API reference
- Experience Platform release notes