We have a page with multiple components dragged in a page, something like below
- Page
-- Component 1
-- Component 2
-- Component 3
-- Component 4
Now when we are trying to place Component 3 before Component 1 or something like this, AEM is not allowing to move the components, when there is editConfig present on the components. When there is no editConfig component, then movement or rearrangement works fine.
We have not provided CRX acess to content authors and we don't want to rearrange components order from CRX. Let me know if there is way to handle this in components with editConfig.
Thanks
- Sandeep
Solved! Go to Solution.
Ok.
So adding insert to cq:action would make the components rearrangable (DnD to move them) in both Classic and Touch UI.
Regards,
Daniel.
Hi, Sandeep.
Is this related to the default value of cq:actions for cq:EditConfig?
Does adding copymove to cq:actions help you in any way?
http://labs.6dglobal.com/blog/2014-01-08/the-great-and-powerful-cq-editconfig/
Regards,
Daniel.
Views
Replies
Total Likes
Hi Daniel,
Thanks for inputs. It was to do with cq:actions only. I had copymove but not insert. The reference link you mentioned in the post has mention of insert also and that worked. You can update this information in the answer, would mark that as correct, as that would help community refer the correct answer at the top of the post.
Regards,
Sandeep
Views
Replies
Total Likes
Hi, Sandeep.
So making it "insertable" has solved the issue, right?
Out of curious: if you keep insert, but remove copymove, would it still work? Or, in the end, do you need both of them?
Regards,
Daniel.
Views
Replies
Total Likes
Ok.
So adding insert to cq:action would make the components rearrangable (DnD to move them) in both Classic and Touch UI.
Regards,
Daniel.
daniel_henrique wrote...
Ok.
So adding insert to cq:action would make the components rearrangable (DnD to move them) in both Classic and Touch UI.
Regards,
Daniel.
Yes, the earlier message got deleted by mistake
Views
Replies
Total Likes
FYI - since labs.6dglobal.com is down, here's a link to the same article on the cq:editconfig on my personal blog:
https://www.danklco.com/posts/2014/01/08/the-great-and-powerful-cq-editconfig/
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies