Expand my Community achievements bar.

Get ready! An upgraded Experience League Community experience is coming in January.
SOLVED

Copy components from page to page

Avatar

Level 2

Reading through older posts it seems like you used to be able to copy and paste a component from one page to another in Sites. I can copy a component but if I go to a different page, it doesn't give me the paste option. It only lets me paste it within the same page. 

 

Is there a way I can copy a component from one page to another? 

 

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi @ktmalueg ,

In recent versions of AEM (including AEM 6.5 and AEMaaCS), copy-paste of components across different pages is not directly supported from the page editor clipboard. The default copy/paste action works only within the same page, which is why the paste option does not appear when navigating to another page.

You can copy components from one page to other by using one of the following methods:

1. Use the Template / Experience Fragment
If you frequently need the same set of components across pages:

Convert the layout into an Experience Fragment

Then use that XF on any page
This is reusable and maintains consistency.

2. Copy via CRXDE Lite (Developer method)
Go to CRXDE Lite → /content/<project>/.../jcr:content/root/...

Copy the component node

Paste it in the desired page node structure

Refresh the page editor

(This requires permissions and should be done carefully.)

 

3. Use AEM Content Copy / Package Manager
If you want to migrate or duplicate content:

Create a package containing the component node

Install it on another page or another environment

Summary:
Direct cross-page copy/paste from the page editor UI is not available, so use Experience Fragments, Templates, CRXDE Lite, or Content Packages depending on your use case.

Hope this helps!

Thanks.

View solution in original post

4 Replies

Avatar

Community Advisor

Hi @ktmalueg,

Which version of AEM are you using? Also, could you please tell us are they same template or different than one you copied from?


Santosh Sai

AEM BlogsLinkedIn


Avatar

Level 10

hi @ktmalueg

Have you tried opening both pages in tabs within the same session? 

 

Check if the container you are trying to copy into permits the creation of the desired component. If it is restricted by a template policy, you won't be able to paste it. Also, verify that both pages support the component based on their allowed component configurations.

Avatar

Level 6

Hi @ktmalueg ,

you can copy components from one page to another in AEM, but it works only when the copy is done within the same editor session and browser tab. After copying a component, you must navigate to the target page in the same tab (using page explorer or direct URL) for the Paste option to appear. If paste is still not visible, it means the component is not allowed by the target page’s template policy or you don't have sufficient permissions. In short, cross-page copy works only in the same editing session and only when the destination container allows that component.

Avatar

Correct answer by
Level 2

Hi @ktmalueg ,

In recent versions of AEM (including AEM 6.5 and AEMaaCS), copy-paste of components across different pages is not directly supported from the page editor clipboard. The default copy/paste action works only within the same page, which is why the paste option does not appear when navigating to another page.

You can copy components from one page to other by using one of the following methods:

1. Use the Template / Experience Fragment
If you frequently need the same set of components across pages:

Convert the layout into an Experience Fragment

Then use that XF on any page
This is reusable and maintains consistency.

2. Copy via CRXDE Lite (Developer method)
Go to CRXDE Lite → /content/<project>/.../jcr:content/root/...

Copy the component node

Paste it in the desired page node structure

Refresh the page editor

(This requires permissions and should be done carefully.)

 

3. Use AEM Content Copy / Package Manager
If you want to migrate or duplicate content:

Create a package containing the component node

Install it on another page or another environment

Summary:
Direct cross-page copy/paste from the page editor UI is not available, so use Experience Fragments, Templates, CRXDE Lite, or Content Packages depending on your use case.

Hope this helps!

Thanks.