Reference field (single relation)
Link an item to one item of another collection, for example a post to its author.
A Relation field set to type Single points to items of another collection and returns one item. In bindings you can read the related item's fields. In source filters a Relation field becomes a source picker, so you can filter by a related item.
How it works
- Settings: collection (target) and type single or multiple.
- Single: 'Returns single item, if more items are selected, random item will be chosen at each request' (field setting text).
- Relation filters use the operators In, NotIn, Includes, NotIncludes, ContainsAll with arrays.
- On the site, relation targets are fetched with the published and schedule filters, so drafts are not exposed.
When to use it
- Post to author
- Product to brand
- Job to department
Limitations
- If several items are selected in a single relation, one is picked at random per request
Availability
- Works in Designer, AI Studio and MCP.
- Included in the Business and Professional plans.
- Limits: CMS items: up to 5,000 on Business and 50,000 on Professional. Starter has no CMS.
Related features.
Browse other features
Designer
Bring your ideas to life with our visual website builder. Drag and drop with ease, or dive into coding when needed.
→AI Studio
Describe it and AI builds it. Every change lands in the same project you can open in the Designer.
→MCP
Connect Claude Code, Cursor or any MCP client and build whole sites with your own agent.
→CMS
Create, organize, and manage your dynamic content with the maximum freedom and flexibility of our visual CMS.
→SEO
Divhunt delivers ultra-fast & structured sites that are good for ranking by default, while offering complete control for customization.
→REST API
Easily link to any REST API endpoint with instant preview and expand your site’s functionality smoother than ever before.
→Plugins
Divhunt offers an open platform for creating plugins to upgrade features, add new capabilities, and simplify building better sites.
→Localization
Localize everything from static pages and CMS content to URLs and metadata, in up to 15 languages with no add-on.
→Interactions
Visually create animations and interactions with a simple, intuitive timeline. Build smooth, engaging experiences without code.
→Custom Files
Manage JS and CSS files with a structure developers love, combining folders and clean organization.
→Memberships
Create plans, decide who sees what and connect it all to your CMS. Build courses, communities or client portals.
→