We currently have an event listener configured for /content/dam that listens for metadata changes. However, we are experiencing performance issues when an author updates multiple properties and clicks the save button, as the event listener is triggered for each updated property. Is there any way to get all the updated properties once click on save button instead of multiple calls.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi,
Firstly, OSGi Events are deprecated, instead, you should use ResourceChangeListeners. Please read this blog about how this could increase your performance: https://cqdump.joerghoh.de/2022/02/03/the-deprecation-of-sling-resource-events/
Also, If you are using AEMaaCS, please explore if this works for you: https://experienceleague.adobe.com/en/docs/experience-manager-learn/assets/configuring/auto-start-wo...
Hope this helps.
What type of event listener do you use? JCR Observation listener or Sling ResourceChange listener? And can you share the event handler you implemented?
@AEMLearner-1989 Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies