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

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

kautuk_sahni
Community Manager
Community Manager

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.

0 Replies