HomeGuidesAPI ReferenceGraphQL
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Objects & Fields

This topic describes fields for storing custom metadata in Optimizely Data Platform (ODP).

Objects & Fields relationship

All data in Optimizely Data Platform (ODP) is stored within collections called Objects (what many think of as a database table).

Objects are composed of Fields.

Fields link objects together via Relations.

Fields

Fields allow storing custom metadata on any ODP Object. Fields can store a variety of data:

Type

Notes

Text

Any printable UTF-8 character, including space. Text is limited to 1024 characters.

Number

A number represented in standard decimal format (Example: 0, 3.14159, -2.3, -0.112)

Date & Time

Must be formatted as ISO 8601 format or UNIX epoch (seconds since January 1, 1970). Examples: 1435708800, 2015-07-01T00:00:00-00:00, 2015-07-01T12:30:00-07:00

Note: If time and time zone are not provided, the time is assumed to be 12am UTC.

True/False

Must be one of 0, 1, true, or false

Create custom fields

In ODP UI

For information on how to create custom fields in the ODP UI, refer to the support documentation on how to Create custom fields.

via the REST API

REST API

Create custom Objects or Identifiers

🚧

Important

Custom Objects & Identifiers are only available for creation by app developers and ODP Customer Success/Support. To learn more, contact your CSM or our support team.

Update custom Objects

You can update your custom Objects by calling the Update Object REST API endpoint.


Did this page help you?