Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Customize/Hook to AEM copy-paste component flow

John_Ky
Level 2
Level 2

Hi,

Anyone know how to hook to the copy-paste event in AEM? I want to create a custom code which listens to the paste event in order to modify all the children nodes' names. Appreciate if anyone know where is the client-side js and server-side for the copy-paste flow. hook_copy_paste_aem.png

paste_event.png

Thanh

1 Accepted Solution
viveksachdeva
Correct answer by
Level 7
Level 7

You could add a custom listener for page events and add your code there...

View solution in original post

5 Replies
smacdonald2008
Level 10
Level 10

I am not sure this is a publicly exposed AEM Event. I do not think this is possible. Never seen or read any doc or community article related to a paste event handler.

viveksachdeva
Correct answer by
Level 7
Level 7

You could add a custom listener for page events and add your code there...

View solution in original post

Ronny_Fallas
Level 2
Level 2

Can you provide any sample code or files to look at?