Registry data source

The registry data source supplies a list of definition providers of a given registry specified by the registry type. It is only used in column filters in the Definitions app (see Searching and filtering definitions). By default, it does not provide any component implementation itself other than the one required by select fields.

The registry data source is part of the Magnolia 6 UI framework. The fully qualified class name is info.magnolia.definitions.app.data.RegistryDatasourceDefinition.

If you work with the Magnolia 5 UI framework, see Content connector instead.

Example definition

datasource:
  class: info.magnolia.definitions.app.data.RegistryDatasourceDefinition
  name: registry-contents
  type: dialogs

List of properties

Property Description

class

required

Fully qualified name of the definition class.

Use info.magnolia.definitions.app.data.RegistryDatasourceDefinition.

type

required

Type of registry. Examples include apps, dialogs and templates.

name

optional, default is registry-contents

Name of the data source.

Data source components

Module component mappings can be defined in the context of the current data source (a component section should have an id in the form of <id>datasource-<ds-name></id>, where <ds-name> is configured in the definition).

Type Implementation Description

info.magnolia.ui.field.SelectFieldSupport

info.magnolia.definitions.app.data.RegistryContentSelectFieldSupport

Provides delegates required by select fields.

Component mappings in module descriptor
<components>
  <id>datasource-registry-contents</id>
  <component>
    <type>info.magnolia.ui.field.SelectFieldSupport</type>
    <implementation>info.magnolia.definitions.app.data.RegistryContentSelectFieldSupport</implementation>
  </component>
</components>
dev days event sign up
dev days event sign up
Feedback