AEM Archives | Perficient Digital
Posts Tagged with AEM

How to Show/Hide Metadata Schema Field Based on Asset Path

If you have not read my post on How to show/hide page properties based on template in AEM 6.4  you may want to stop and read that first before this one. Especially the “Granite Render Condition” section as it will be the basis for this post. Now onto the good stuff! Banner Photo by Glenn Carstens-Peters on Unsplash The Use […]

Read more

Customizing Request for Activation/Deactivation Wizards in AEM 6

In AEM 6.3+, there is a feature that allows content authors to “Request Publication” or “Request Unpublication.” The option becomes available when the content author does not have replication permission crx:replicate on the page they are currently authoring. See image below: Banner Photo by rawpixel on Unsplash   The Publish/Unpublish Page Wizard Once the author clicks on “Request Publication,” the […]

Read more

How to Fix AEM Link Checker Issues with Broken Image Links

Users expect an engaging and quality experience on your site. If little things aren’t working correctly, they are likely to get frustrated and leave. Link Checker is a useful tool within AEM that validates all external and internal links on content pages. It shows all invalid, expired, and pre-dated links broken in the authoring environment, […]

Read more

AEM Backup CLI: Rapid Backup/Restore of your AEM instances

AEM Developers, raise your hand if you’ve never broken a local AEM instance. If you did raise your hand, you just might be the most diligent AEM developer out there! Full disclosure, I break my local AEM instances more times than I can count, and usually, I have to redo my local AEM setup. My […]

Read more

How to Test Apache HttpClient in the Context of AEM

If you’ve ever written a proxy servlet in AEM, chances are you’ve used Apache’s HttpComponents library. While a great library, there are not many resources online for how to test it when used inside your code. If you have not seen my post, The Ultimate Code Quality Setup for your AEM project  , you should check it […]

Read more

Including Service Users in Your AEM Package

While working on a project recently, I needed to include a service user within the Adobe Experience Manager package I was deploying. By doing this, administrators wouldn’t have to create the service users manually During this process, I ran into a few exceptions and wanted to share. A few things to note: The banner photo is […]

Read more

Simple Multifield Max Item Validation for AEM 6.4

I’ve recently had the need to validate that a multifield does not exceed a specific number of items, this post is a short code snippet that will show you how I did that.   This solution simple enough, it takes a few minutes to adapt it to a min validation or validating for a specific […]

Read more

Disabling the Submit Button Until All Fields Are Valid

We all run into instances where it is necessary to make some dialog fields mandatory. A myriad of cases come to mind, but one of the most popular scenarios is to require Alt text for images. In a previous post, one of my Perficient Digital colleagues shared best practices on how to validate authoring fields. In […]

Read more

Using Sling Models With Nested Composite Mulitifields in AEM 6.3+

You probably already know that Adobe added support for composite multifield in 6.3. Adobe also added support for nested multifield and nested composite multifield in AEM 6.4.   Nested? Composite? Huh? Take a look at the AEM 6.4 docs for multifield Let’s define them   Multifiled: Allows authors the ability to add a list of items, each […]

Read more