Skip to content

path

Custom field type

All field types

A path to a code object in the CMS.

Written as
"Type": "path"
Valid on
Template fields, Datastore schema, and custom site settings
Stores
{{ text }} — the Liquid object a template reads from this field.
Validators
same, not, maxlength, eq, different
Default value
A CMS path string.

Properties

Accepted in addition to the shared properties every definition carries.

Property Required Description
FilterType Limits the picker to one kind of code object.
  • Template
  • Javascript
  • Stylesheet