When building features in Adobe Experience Manager (AEM), there are times you need to leverage servlet logic that already exists—especially when it interacts with internal AEM APIs not available through public interfaces. For example, I recently needed to programmatically create Live Copies for assets. AEM doesn’t expose public Java APIs for this directly, but the … Continue reading SlingInternalRequest: A Cleaner Way to Reuse OOTB AEM Servlets with Internal API Access
Author: Aanchal Sikka
How to Fix Session Errors in AEM
If you've been working with Adobe Experience Manager (AEM), chances are you've run into one of these pesky exceptions: javax.jcr.InvalidItemStateException: Unable to update a stale item org.apache.jackrabbit.core.state.StaleItemStateException: [UUID] has been modified externally OakState0001: Unresolved conflicts in... These errors usually occur during a save operation (resourceResolver.commit() or session.save()) when AEM detects that something has changed in … Continue reading How to Fix Session Errors in AEM
How to Fix Image Presets Not Syncing from AEM to Dynamic Media
If you're working with Adobe Experience Manager (AEM) and using Dynamic Media for image delivery, you might run into an issue where your Image Presets aren’t syncing or publishing correctly. This can be especially frustrating when you're trying to maintain consistent image styling across your site. Don’t worry—this guide walks you through a few proven … Continue reading How to Fix Image Presets Not Syncing from AEM to Dynamic Media
Clipping Path Extraction in AEM DAM: A Custom Workflow Approach
Clipping paths are essential in image processing because they define areas of an image that should be visible while masking out the rest. It's like cutting out an object with scissors so it can be placed on a new background without unwanted elements. In Adobe Photoshop, these paths are stored within the image’s "Photoshop" metadata … Continue reading Clipping Path Extraction in AEM DAM: A Custom Workflow Approach