Bind CMS fields into a page
A binding tells the renderer where a visible value comes from. The layout remains authored HTML/CSS, while a selected collection field supplies text or an attribute. Editing a rendered value and styling its template are different tasks; keep that distinction visible in dynamic content.
Before you start
Section titled “Before you start”- Create a collection and at least one entry. Publish the content intended for visitors and open the page with the relevant preview-entry context.
-
Select the element that should display the value. Use the supported binding controls or authored marker attributes for the intended target, such as text, src, href, alt or datetime. Match collection and field keys exactly.
-
For example, a heading can use
data-bind-text="articles.title". An image can bind its source and alternative text separately. Keep useful fallback content while authoring and inspect any diagnostic about a missing field or incompatible target. -
Choose a preview entry and verify short, long and empty values. Where supported, use formatting for dates or numbers and a machine-readable datetime on
<time>. Do not type a final rendered value over its binding accidentally. -
Save and publish the layout, then verify it uses the intended published content. For metadata bindings, inspect the public head as well as visible body content. Entry drafts and layout drafts have separate publication boundaries.
Check the result
Section titled “Check the result”- Changing the intended entry through its native form updates the bound public value after content publication without manually redesigning the element.
Troubleshooting
Section titled “Troubleshooting”If fallback content remains, check collection/field keys, entry scope, live status and renderer diagnostics. An aggregate audit finding does not always identify the exact bound field owner.
Related guides
Section titled “Related guides”Applies to Strukt c02552848c92 · 2026-10-31