components unmovable to upwards or downwards. | Community
Skip to main content
Level 3
May 3, 2017
Solved

components unmovable to upwards or downwards.

  • May 3, 2017
  • 4 replies
  • 2286 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ratna_Kumar

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.

4 replies

smacdonald2008
Level 10
May 3, 2017

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

Ratna_Kumar
Ratna_KumarAccepted solution
Level 10
May 3, 2017

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.

Level 3
May 3, 2017

yeah, I am able to drag and drop components.

Version 6.2