Customize/Hook to AEM copy-paste component flow

Avatar

Avatar

John_Ky

Avatar

John_Ky

John_Ky

27-09-2017

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

viveksachdeva

Avatar

viveksachdeva

viveksachdeva

28-09-2017

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

Answers (2)

Answers (2)

Avatar

Avatar

Ronny_Fallas

Avatar

Ronny_Fallas

Ronny_Fallas

26-06-2018

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

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

28-09-2017

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.