Posts Written By Ahmed Musallam

RTE Validation for AEM 6.2, The Right Way

I’ve looked far and wide for an RTE validation solution that is straightforward and easy to share between teams. The examples I found online seemed like patches or half-solutions that would break in the next AEM version, or when used in complex dialogs. So I set out to write one myself following my newly acquired […]

Read more

How to Transform Replication URLs in AEM

If you are ever faced with the requirement of replicating AEM content between systems where the content hierarchy on one of the systems does not exactly match the other system, this post is for you. Let’s take this example: Your AEM author instance has pages under “/content/site/page/” and you have a sling mapping that transforms incoming URLs: […]

Read more

How to Force AEM to Not Process CSS URLs

By default, AEM CSS processor will transform the CSS URL functional notation “url()” into a relative URL to the ClientLibrary, if the URL was relative to begin with, ie, it does not start with “/” This poses an issue when using the CSS fill property for SVG and providing a gradient id (read more here) The following was […]

Read more

How to Use The Google Closure Compiler with AEM 6.2+

The Google Closure Compiler was added to AEM in version 6.2 as a new script compiler bundle. This means that AEM can now use the Closure Compiler to code-check and minify JavaScript instead of using the YUI Compressor, which is buggy and was last released on 07/03/2013 (at the time of this post). To check […]

Read more

How to Create “Drag and Drop” Experiences for AEM Authors

In this blog post, I’m going to show you how to enable custom drag and drop interactions in AEM Author mode. In my specific use case, I wanted to give authors the ability to drag assets and drop them into dialog field. Upon dropping, the asset path should be copied into the field. This article assumes basic […]

Read more