Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Move Component which are included in page?

Avatar

Level 2

Hi Guys,

Need a quick help, is there any functionality in AEM 5.x which allows component which are included in page via code (cq:include) can be moved inside the page.

anybody implemented any workaround or customization, please share guys

Thanks, great day...

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Jacob,

including components in a page is to make sure you have that component fixed within the template. You will not be able to move that component as such. However, you can include any other component before or after these included components.

View solution in original post

3 Replies

Avatar

Level 5

As Every one mentioned you can not remove component included though cq:include however you can hide them using JS Or JSP based on certain condition.

Avatar

Level 10

The <cq:include> tag includes a resource into the current page. If you want to move that tag into anotgher page, the typical way is to open the JSP in CRXDE lite (or another IDE) and move it to another JSP. 

There is no out of the box way to move these around. . 

Avatar

Correct answer by
Level 10

Hi Jacob,

including components in a page is to make sure you have that component fixed within the template. You will not be able to move that component as such. However, you can include any other component before or after these included components.