Attach reusable preambles and postambles to a template.
Overview
Attach reusable preambles and postambles to a template. Composite templates improve reuse but add a publish-time compilation step. Treat component and assignment changes as release events.
Key points
- Assignments identify template, component, placement, order, and enabled state.
- The component must be active and visible to the instance.
- Placement must match the component type.
- Replacing assignments invalidates the compiled package.
- Assignment conditions are stored but not currently supported by compilation.
Recommended procedure
- Confirm the base package and body are compatible.
- Select active preamble and postamble components.
- Set deterministic placement order.
- Scan, validate, compile, and render a regression sample.
Troubleshooting
Compilation reports a declaration conflict
Rename or centralize variables, parameters, or named templates that share a name but differ in content.
The component order is rejected
Use unique sort-order values within PREAMBLE and POSTAMBLE.
Rendering returns TEMPLATE_COMPILATION_REQUIRED
The compiled package is absent or stale; validate and compile before rendering.
Related documentation
- Order Preambles and Postambles
- Validate and Compile a Composite Template
- Manage Stale Composite Templates
Documentation source: feradelinc/feradel.render.api, reviewed against repository revision b2c3a710. Verify behavior against the deployed release before publishing exact routes, limits, or version requirements.