Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Register/Map Custom AEM I/O Events | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

Register/Map Custom AEM I/O Events by Kelvin Xu

Abstract

After setting up AEM I/O events following this, you will get the following AEM events mapped to I/O events OOTB and you can immediately hook them up with your I/O actions or webhooks.

What if you want to map more AEM event types into I/O events such as asset_published or asset_metadata_updated? Here are the high-level steps. In general, what it takes is just to find the underlying OSGi event and map to a new I/O event code through a custom com.day.cq.dam.eventproxy.service.mapping.OsgiXdmEventMappingConfigurationImpl factory config. Let's take asset_published and asset_metadata_updated events as examples.
asset_published
Publish an asset and go to /system/console/events to find the event that can be uniquely identified by the event topic, path, and type. something like below,

Use event topic, path, and type to define a custom OSGi config com.day.cq.dam.eventproxy.service.mapping.OsgiXdmEventMappingConfigurationImpl-asset_published with below properties

Read Full Blog

Register/Map Custom AEM I/O Events

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
0 Replies