Expand my Community achievements bar.

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

Drag and Reordering not working in form container component

Avatar

Level 2

I'm using AEM 6.5. I'm using editable templates to configure the initial load of the list of mandatory components inside a form container in the page. But when I try to reorder the components once the page is loaded. I'm not able to drag or reorder between these components.
Moreover, there are cq:editconfig and cq:actions which are updated in each of the components to allow the necessary actions.
Still nothing seems to be working.
Kindly help me out on the same.

 

Thanks
SHYAM SUNDAR TK

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

I believe there might be some confusion regarding the concepts of locking and unlocking components, as well as how they function. To put it simply, locking a component means that it cannot be moved or removed; it can only be edited according to the policies defined by the template author. Unlocking components, on the other hand, means they are free to be moved or removed.

 

When dealing with the initial setup or your specific scenario, the best approach to achieve this situation is to lock components that don't require rearranging. If, for example, you need to allow some components to be inserted in between components that should not be moved, I would suggest adding an unlocked container component in the middle. This way, authors can freely place any other components between those mandatory components.

 

Please, read this thread which can help as well:

https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/templates/page-tem... 
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/editable-templates-locked-... 



Esteban Bustamante

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

 

I believe there might be some confusion regarding the concepts of locking and unlocking components, as well as how they function. To put it simply, locking a component means that it cannot be moved or removed; it can only be edited according to the policies defined by the template author. Unlocking components, on the other hand, means they are free to be moved or removed.

 

When dealing with the initial setup or your specific scenario, the best approach to achieve this situation is to lock components that don't require rearranging. If, for example, you need to allow some components to be inserted in between components that should not be moved, I would suggest adding an unlocked container component in the middle. This way, authors can freely place any other components between those mandatory components.

 

Please, read this thread which can help as well:

https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/templates/page-tem... 
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/editable-templates-locked-... 



Esteban Bustamante