Last Updated 3/6/2018
Most information in the CMS is stored in entities. There are many different types of entities and many ways to add and access data associated with entities, which makes it a topic of primary significance to fully understand for any CMS developer.
Entities are not required to have a page. They may be used for other purposes - such as for selection in custom fields or to query directly from the template into a list. There are three main ways that entities may be queried:
- Urls: Every page (URL) has an entity associated with it, and so the page is the primary way that entities are loaded by the CMS. In page templates the keyword entity is used to
- Templates: The template developer can query entities using our templating engine in a variety of ways. Entities pulled in this way may or may not have urls.
- Custom fields: A developer can create custom fields (or datastores or custom site settings) that reference entities. These may be defined in as many ways as the developer can query the templating engine, and have roughly the same limitations.
Regardless of how entities are queried, they always have the same structured and unstructured data available.
Let's work together to make our documentation as helpful as possible.