Skip to main content

Posts Tagged ‘AEM’

Mocking HTTP Clients in AEM Projects

The first thing I learned as an AEM developer was mvn clean install -P autoInstallBundle. The second thing was how to debug a remote Java process. The first allowed me to deploy updates I made to the bundle. The second allowed me to step through and debug the code. This was the normal cadence. Since […]

Reuse@1x.jpg

Code Reuse With Custom Sling Model Injectors

In my blog Writing Less Java Code in AEM with Sling Models, I talked about writing less code using Sling Models. I followed that up with Writing Less Java Code in AEM with Sling Models & Lombok. I talked about code generators helping in saving time by not writing redundant codes. You could say I […]

Writing Less Java Code in AEM with Sling Models & Lombok

AEM is a robust platform full of useful APIs and frameworks available at our disposal. Understanding what’s in the box will help us write less code. In my previous blog post, I covered one of the most used frameworks, Sling Models. Plus, I showed a real-world example with multi-fields. For this blog post, we will […]

Who Knows What A Hacker Can Do With Your Information

How To Extend Content Fragment Model Data Types

Content as a Service has revolutionized content management systems in the delivery of content.  Content is created once, independent of channels, and delivered without additional custom application code.  This saves a lot of time in the creation and maintenance of content and reduces the cost of operation. Adobe Experience Manager (AEM) has out-of-the-box (OOTB) features […]

Resources

Understanding AEM Resources In 10 Minutes

One of the strong features of Adobe Experience Manager (AEM) is creating UI content using the content authoring capability with Core Components.  As contents are created, they are stored in a Jackrabbit Oak repository as resources, which is then fetched and rendered as HTML content.  When out-of-the-box content authoring components do not suit the needs […]

Two Business Boys Maximize Ideas With Mind Helmet

Static Code Analysis With Open Source Tools For AEM Projects

Implementing static code analysis might seem like a daunting task. In some cases, this may be true depending on logistics, timing, and other factors. There is however a quick and easy way to implement it for AEM projects. Using open-source tools such as CheckStyle, SpotBugs, PMD, and JaCoCo you will pay nothing and reap all the […]

Science

AEM Forms: Custom Styling for the AEM Forms Component

The AEM Forms product comes with many out-of-the-box (OOTB) UI components that allow you to build meaningful forms for your business; the forms can be used to collect data, like applications, surveys, and consent authorization.  But, these OOTB UI form components come with default UI styling.  When we integrate AEM Forms into a website, the […]

Industrial Warehouse

Managing AEM Repository Size Growth

Managing your AEM repository size growth can be challenging for numerous reasons. What’s more, it may suddenly start to grow unexpectedly and fill up space in the assigned drive of your AEM application. In this post, I want to share a few AEM utilities & methods which can help you to not only manage the […]

Website Design. Developing Programming And Coding Technologies.

Unit Testing JCR Resource Resolver Mappings

Recently, I had a task to shorten URLs and remove the HTML extension in AEM. On top of that, I had to add a context root to the URLs so that these mappings would happen. /content/myapp/en_US.html -> /mycontext/ /content/myapp/en_US/homepage.html -> /mycontext/homepage/ /content/myapp/es_ES.html -> /mycontext/es_ES/ /content/myapp/es_ES/homepage.html -> /mycontext/es_ES/homepage/ Shorting URLs in AEM consists of two things: The dispatcher will receive requests for short extension-less URLs and must rewrite them before passing them through to […]

Istock 636932704 (3)

Setting Up A Local AEM Dispatcher With Docker

Reverse proxy and caching are two of the many features provided by the AEM dispatcher module. It is the prism through which your web users will view content on the AEM publisher. Developers will say the development and operations (DevOps) team handles it. DevOps rely on developers to provide instructions on how to configure it. […]

Einar H Reynis Cgset8 Wgw Unsplash

AEM Customization: Show Unpublished Reference Alert for Tagpicker

Recently, I published a blog post regarding AEM Customization: Show Unpublished Reference Alert for Content Path where I showed how to customize the Pathfield and Xffield resourceType. In doing this, I was able to showcase how to create a notification for the content author as to whether the selected content path is published or not. […]

SurajK_Free To Use Sounds Zxn Zuztohu Unsplash

AEM Customization: Show Unpublished Reference Alert for Content Path

Have you ever noticed that while authoring an AEM component, the component dialog box does not provide any hints or alerts for if the selected content path is published or not? This is a confusing scenario for AEM authors, especially when setting or choosing the content path in the component dialog for pathfield and xffield […]

Load More