Expand my Community achievements bar.

SOLVED

Customize/Hook to AEM copy-paste component flow

Avatar

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

Avatar

Correct answer by
Community Advisor

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

View solution in original post

5 Replies

Avatar

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.

Avatar

Correct answer by
Community Advisor

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

Avatar

Level 2
Could you please provide some more inputs , example ?

Avatar

Level 2

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