Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Delete Event Listener

Avatar

Level 4

Hello All,

I am trying to listen to events in AEM. When I am deleting the pages or assets from crx/de, the event listener is not triggering but when I delete from siteadmin or damadmin it is triggering. Does this look right ?

On the other hand when I try to replicate/ delete replicate from crx/de the event listener triggers ?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Vishwanath,

Basically when you delete the pages/nodes or assets, the event listener must trigger the events.

Look into this article which discuss of your use case: 

https://helpx.adobe.com/experience-manager/using/events.html
https://helpx.adobe.com/experience-manager/kb/ReplicationListener.html

Thanks,
Ratna Kumar.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi Vishwanath,

Basically when you delete the pages/nodes or assets, the event listener must trigger the events.

Look into this article which discuss of your use case: 

https://helpx.adobe.com/experience-manager/using/events.html
https://helpx.adobe.com/experience-manager/kb/ReplicationListener.html

Thanks,
Ratna Kumar.

Avatar

Level 10

Can you please share your code snippet ?