Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6304

DOC: Add 6 UI configuration for 5 UI MultiValueChildrenNodeTransformer

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Neutral Neutral
    • None
    • 6.2
    • None

      MultiValueChildrenNodeTransformer can be achieved in M6 UI with the following configuration:

          yourMultiName:
            $type: jcrMultiField
            itemProvider:
              $type: currentItemProvider
            entryResolution:
              class: info.magnolia.ui.editor.ByLexicographicallyIndexedChildNodes$Definition
              propertyNameDecorator: info.magnolia.ui.field.AlwaysEmptyPrefixNameDecorator
              strict: true
            orderHandler:
              class: info.magnolia.ui.editor.LexicographicallyIndexedJcrNodeOrderHandler$Definition
            field:
              name: yourMultiName # this is the name of the property the value is stored under within the multi node
              $type: textField # could be something else
      

      Documentation update necessary under: https://docs.magnolia-cms.com/product-docs/Upgrading-to-Magnolia/Magnolia-6-UI-ports-of-5-UI-field-transformer-classes.html

      multi.MultiValueChildrenNodeTransformer Deprecated, no automatic conversion.

      is to be adapted to describe the necessary configuration.

      Also the example section: add the above example.

        Acceptance criteria

              akhamis Ashraf Khamis
              sdemocko Šimon Demočko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 20m
                    20m