Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Unable to reorder components with parent component

Avatar

Level 6

My parent component has cq:isContainer set to true and has a childeditor field in it. I am able to select components from my allowed component list. But im unable to reoder them in the crxde or even in the parent component dialog.

1 Accepted Solution

Avatar

Correct answer by
Level 6

i was using hashmap to fetch child nodes, which was causing issue in reordering. I changed that to linkedHashmap and it works now.

View solution in original post

4 Replies

Avatar

Community Advisor

Are you able to drag and drop the child components? While doing that are there any console errors?

Avatar

Level 6

im able to drag and drop and there are no console error when i do that

Avatar

Community Advisor

Sorry I mean when we try to drag and move the child components, do we see any errors? The reordering should be happening using gui drag and move

Avatar

Correct answer by
Level 6

i was using hashmap to fetch child nodes, which was causing issue in reordering. I changed that to linkedHashmap and it works now.