Localess
Schemas

References (Multiple)

Stores references to multiple content documents in the space. Resolved to full document objects when fetched with resolveReference enabled.

Stores references to multiple content documents in the space. Use it when a piece of content is related to several other documents — for example, a list of featured articles or team members. For a single reference use Reference.

Value shape

[
  {
    "kind": "REFERENCE",
    "uri": "019df317-9ad5-7228-a070-afc8f94a07d2"
  },
  {
    "kind": "REFERENCE",
    "uri": "019df317-9ad5-7228-a070-afc8f94a07d2"
  }
]

When fetching content with resolveReference: true, each URI is replaced with the full document object. See @localess/client for fetch options.

Options

OptionDescription
PathRestricts the document picker to documents under a specific content path (e.g. blog shows only documents inside the blog folder)
NameUnique field name in the Schema. Appears in the generated model and in the API response.
Display NameLabel shown to editors in the Content Editor.
RequiredWhen set, editors cannot save the document without a value.
TranslatableNot available for this field type.
DescriptionHelp text shown to editors under the field.
Default ValueValue applied when a document is first created.

On this page