Expand my Community achievements bar.

SOLVED

Copy & Paste across pages in AEM6

Avatar

Level 2

Hi All,

I'm a begginers of AEM6 ... and I need to copy a component inside a page and paste it in another page (parsys).

I verified that copy & paste works inside the same page, but it is not possible copy a component and try to paste it in other page.

Why there is this kind of limitation?

If I would implement the copy&paste component across pages, is it possible? And how could I do it?

Any suggestion will be appreciated.

Thanks in advance.

Emilio

1 Accepted Solution

Avatar

Correct answer by
Level 1

Hi Emilio,

OOTB is not possibile to copy/paste a component from a page to another one, but hopefuly is possibile following this trick:

  1. Start AEM, go on Sites (UI Touch version), on mouseover on the label and the desktop icon will be displayed.
  2. Click on it and you will see at http://localhost:4502/siteadmin#/content and the list of the projects
  3. Double click on the page you want copy the component from, es http://localhost:4502/editors.html/content/geometrixx/en.html
  4. Change the URL from the address bar in https://localhost:4502/cf#/content/geometrixx/en.html invoking the CF (Content Finder)
  5. Now simply click-right over the component you want to cut and cut it
  6. if you pay attention, at the bottom of the page on the left side where there's the content finder, a little tab is open, called Clipboard. 
  7. Now you have your component stored in the Clipboard, REMEMBER TO NOT REFRESH YOUR BROWSER, change in the address bar the link to the page you want paste the component without leaving the current page
  8. From http://localhost:4502/cf/content/geometrixx/en.html to --> http://localhost:4502/cf/content/geometrixx/en/products.html
  9. Now, simply choose the parsys where you want the component being showed and simply paste it (click-right and paste it)

Remember, in order this trick works, the clipboard tab must be always open with the component inside and for that parsys, the component must be available from etc/design

TESTED with CQ5.5, CQ5.6, AEM6 and AEM6.1

See attached images

Thanks
Gaetano

View solution in original post

1 Reply

Avatar

Correct answer by
Level 1

Hi Emilio,

OOTB is not possibile to copy/paste a component from a page to another one, but hopefuly is possibile following this trick:

  1. Start AEM, go on Sites (UI Touch version), on mouseover on the label and the desktop icon will be displayed.
  2. Click on it and you will see at http://localhost:4502/siteadmin#/content and the list of the projects
  3. Double click on the page you want copy the component from, es http://localhost:4502/editors.html/content/geometrixx/en.html
  4. Change the URL from the address bar in https://localhost:4502/cf#/content/geometrixx/en.html invoking the CF (Content Finder)
  5. Now simply click-right over the component you want to cut and cut it
  6. if you pay attention, at the bottom of the page on the left side where there's the content finder, a little tab is open, called Clipboard. 
  7. Now you have your component stored in the Clipboard, REMEMBER TO NOT REFRESH YOUR BROWSER, change in the address bar the link to the page you want paste the component without leaving the current page
  8. From http://localhost:4502/cf/content/geometrixx/en.html to --> http://localhost:4502/cf/content/geometrixx/en/products.html
  9. Now, simply choose the parsys where you want the component being showed and simply paste it (click-right and paste it)

Remember, in order this trick works, the clipboard tab must be always open with the component inside and for that parsys, the component must be available from etc/design

TESTED with CQ5.5, CQ5.6, AEM6 and AEM6.1

See attached images

Thanks
Gaetano