Reusing configuration

This pages gives an overview of how you can reuse the configuration within JCR-based and in YAML definition items.

Definition items

A definition item is a configuration of a component to execute tasks in a Magnolia instance. Template definitions, dialog definitions, app definitions (also known as app descriptors), renderer definitions, themes definitions, field definitions are all examples of such definition items. They can be configured via JCR in the configuration workspace.

Most (but not all) of these items can be configured via YAML. All items which can be configured via YAML are registered in a specific registry. Registered items can be seen in the Definitions app.

Reusing definition items

Within both JCR configuration and YAML files you can use mechanisms to reuse existing configuration.

YAML include

Use !include in a YAML file to reuse a snippet or a complete YAML-based configuration. Reference the includable as Magnolia Resource (which can be from any origin).

For further details please read YAML include.

YAML inherit

Use !inherit in a YAML file to inherit a registered definition item. You can inherit on root level only.

For further details please read YAML inherit.

JCR extends

The JCR extends mechanism is based on JCR nodes and properties. JCR configuration data can be extended on any node level, and thus on any level of configuration. JCR extends allow to extend sub items of a JCR-defined item definition.

For further details please read JCR extends.

DX Core



This widget lets you know where you are on the docs site.

You are currently perusing through the DX Core docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules
6.3 beta

Magnolia 6.3 beta

Magnolia 6.3 is in beta. We are updating docs based on development and feedback. Consider the 6.3 docs currently in a state of progress and not final.

We are working on some 6.3-beta known issues during this phase.