Skip to content

Unable to get the multifield nodes from a component, with updated property name #207

Description

@hiralvasa

Hi All,

I am unable to get the multifield nodes from a component with the updated property name.

Expected Behaviour

While migrating components, the multifield nodes under it should also be added into the new migrated component, with the updated property name as well.

Actual Behaviour

cq:copyChildren simply adds the children nodes as it, but there is no way to feed in the new property names which should replace the old property names from the children node.

This is a specific use case where the components have the multifield nodes (the number cannot be specified in the rewrite rules). Is there a way to copy the children nodes with the updated property names?

Thanks in advance for the answer! looking forward for the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions