Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

components unmovable to upwards or downwards.

Avatar

Level 3

cq:actions="[edit,-,delete]"
    cq:dialogMode="floating"
    cq:disableTargeting="{Boolean}true"
    cq:layout="editbar"

 

when these properties are removed it is behaving what i expected. But If I delete those properties it does display only config icon for baked in components and makes components unmovable when components are dragged (meaning not baked in).

any suggestions.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Pradeep,

If you want to move components upwards or downwards, you need to use copymove in cq:actions property.

Here it is!!

<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" cq:actions="[text:My Component,-,edit,delete,insert,copymove]" cq:dialogMode="floating" cq:layout="editbar" jcr:primaryType="cq:EditConfig"> </jcr:root>

Check here for more information: http://labs.6dglobal.com/blog/2014-01-08/the-great-and-powerful-cq-editconfig/

Hope this helps!

~Ratna.

View solution in original post

4 Replies

Avatar

Level 10

What version of AEM are you using. Are you able to drag and drop components on other pages? 

Avatar

Correct answer by
Level 10

Hi Pradeep,

If you want to move components upwards or downwards, you need to use copymove in cq:actions property.

Here it is!!

<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" cq:actions="[text:My Component,-,edit,delete,insert,copymove]" cq:dialogMode="floating" cq:layout="editbar" jcr:primaryType="cq:EditConfig"> </jcr:root>

Check here for more information: http://labs.6dglobal.com/blog/2014-01-08/the-great-and-powerful-cq-editconfig/

Hope this helps!

~Ratna.

Avatar

Level 3

yeah, I am able to drag and drop components.

Version 6.2