Skip to content

datastore

Custom field type

All field types

A reference to a Datastore chosen by an editor.

Written as
"Type": "datastore"
Valid on
Template fields, Datastore schema, and custom site settings
Stores
{{ datastore }} — the Liquid object a template reads from this field.
List form
datastorelist — stores an array and accepts the same filters. It has no page of its own.
Validators
This type carries no validators.
Default value
The name of a Datastore, or Type:Name for a polymorphic reference.

Picker filters

Constrain which objects the editor offers. Every picker also accepts Exclude.

  • HasUrl
  • IncludeInSearch
  • SiteDomainGUID
  • TemplateGUID
  • FolderGUID
  • DatastoreType

Notes

A single picker carries no validators. Its datastorelist variant does, and accepts minitems and maxitems to bound how many objects an editor may choose.