Autogenerated Fields
New instances come with a set of default fields for your convenience. Learn how to use these fields for global information, SEO settings, and other important information.
Overview
When you create an instance and open the content manager it will load mostly as a blank canvas (unless you load a pre-generated blueprint) with a few preset fields.
Globals
Globals (formerly Content Clippings) is a Content Model designed to store content not assigned to any one page or other content entry. Often these content pieces are used site wide or control settings and default behavior.
When an instance is initially created, you will land in the Content dashboard. Here you'll be able to navigate through the autogenerated sets and fields. Under Headless, you'll find Globals. Globals is an autogenerated data set with fields intended to be used globally throughout a property. Globals comes default with three fields which are shown in the table below. These fields can be deactivated, renamed, reordered, or otherwise edited via the Schema section. They are not required.
Display Name | Reference Name | Field Type |
Site Name | site_name | text |
Site Logo | logo | image |
Footer Text | footer_text | text |
Referencing in Parsley
To reference a field in Globals use {{ globals.field_name }}
where field_name
is replaced with the reference name to the field you want to access.
Pages
Instances will autogenerate a Homepage. This is a Single Page component in the Content Structure. It can also be edited or removed under the Schema section. Note: To remove a homepage, another page must first be assigned as the new homepage before it can be deleted.
The default fields for Homepage are as follows:
Display Name | Reference Name | Field Type |
Lead in Title | site_name | text |
Intro Text | intro_text | wysiwyg |
Main Image | main_image | image |
Page Settings
All pages (including page groups) are loaded with editable Meta and SEO settings as described in Parsley Page Call. The entries for these settings can be edited in the Content section within the page itself by clicking the gray Open Settings button.
ZUID
ZUIDs are autogenerated unique identifier strings for all content set entries in Zesty.io including Pages, Page Groups and Data Sets. As described in Parsley Content Calls where content sets are created on tables with each field as a column and each entry as a row, the ZUID is created for each row.
To call the ZUID of a page while editing that page's view in the Editor, you can use the following code snippet:
To call the ZUID of a collection, you can use the following code snippet:
Relationships in Zesty.io are connected by their ZUID.
Last updated