Reserved Field Handles
This is the list of reserved words you shouldn't use as field names, in addition to the names of Statamic's Tags and contextual variables.
-
blueprint
-
content_type
-
count
-
elseif
-
endif
-
endunless
-
id
-
if
-
length
-
reference
-
resource
-
save
-
site
-
status
-
path
-
private
-
publish
-
published
-
route
-
unless
-
uri
-
url
Warning!
Some of these may work as field names in some circumstances, but can have unintended consequences, like overriding global data, behaviors, or creating issues with Vue components inside the Control Panel.
Special Cases
-
content
as a field name when also utilizing the "content area" of your YAML front-loaded Markdown files (usually when working in the files directly) -
global
with any datatype storing data as an array when there is also a global field of the same name. -
type
inside a Replicator set. The type is the handle of the set.
Entries
-
order
-
origin
-
parent
Forms
-
date
-
message
-
messages
Taxonomy Handles
-
register
Reserved Wildcards in Statamic Routes
-
entry
-
taxonomy