Skip to content

Local search · English

    Reuse and publish shared sections

    A shared section is a website-scoped reusable definition placed on one or more pages. Its instance keeps a reference to the definition. Saving the definition and publishing a page are separate operations, so review section status and usage before changing a shared header or footer.

    • Choose a non-void element containing the intended reusable subtree. Save the page and identify any page-only CSS classes that the selection depends on.
    1. In the sections explorer, name the selection and choose Create section from selection. Confirm creation and replacement before continuing; if the page changed during the request, the section may exist without having replaced the selection.

    2. Open Edit selected section to change the definition. Move required page-only styles into the section or a shared site stylesheet. Creating a section does not copy the page’s global CSS automatically.

    3. Save and publish the section using its native flow. Return to the page, save its section reference, and review all dependencies before publishing the page. Check another page using the same section when assessing impact.

    4. Use supported instance properties, variants or slots for intentional differences. Detach only when you want an independent copy; inspect the warning about resources and nested sections before confirming.

    In the definition’s Attributes → Reusable section fields, use Create and connect text property (or the corresponding link/image target) to expose a selected control. Set typed defaults on the root under Component properties. A Repeater property declares a repeated child layout and named item fields.

    Back on the page, select the instance and open Section instance. Scalars accept Default, Value or Dynamic data; repeaters accept Default, Rows or Dynamic data with a mapping for every item field. Binding preview explains the effective value for the exact rendered occurrence. Read the component properties guide for fallback precedence, typed controls and the full workflow.

    • The intended pages render the correct published section, and editing a detached copy no longer changes the shared definition.

    An unavailable section, unpublished dependency or page-only style can produce a different preview or block publication. Resolve the named dependency rather than copying its rendered HTML over the reference.

    1. From Shared sections, export the desired definition as a component package. The JSON includes its nested shared definitions, attached/global CSS, supported public image dependencies and published source CSS files. Inspect it before sharing: the component’s authored fallback content is included.
    2. On the destination website, expand Import a component package and select the JSON file. Inspect the dependency list, proposed imported names, image/CSS counts and warnings.
    3. Select Import reviewed draft copies. Name collisions receive imported names; existing definitions are not overwritten. Node, nested-section and managed-media identities are remapped to local copies. A changed destination invalidates the reviewed plan: inspect again before importing.
    4. Open the imported definition, repair CMS bindings for the destination, review imported CSS, then save and publish required definitions/files before using them on a live page.

    Packages support at most 32 definitions, 32 public images and 32 CSS files within 16 MiB total; each image is at most 8 MiB. Use relative managed-media URLs before export; absolute source-site media URLs require explicit remapping. Only published source CSS files are copied, so publish a desired source stylesheet before exporting it.

    Scripts, event attributes, embedded documents, active SVG elements, executable/data URL attributes and imported resource bundles are rejected. Head markup supports metadata, links, styles and comments; refresh policies and other head entries are rejected. Use managed image URLs instead of inline data URLs; use the separate reviewed project-import workflow for those dependencies. Native CMS records and private resources are not copied. Bindings can remain unresolved until remapped. Imported components are independent local drafts and do not synchronize with the source website.

    Applies to Strukt eee7f3617d2b0d329ae6e06bf068d9e6b0604217 · 2026-11-16