This requirement of hiding and showing the values in the dialog is a common use case. I have found multiple blogs which discuss different ways of this but not a single consolidated place where you can use the XML directly. Here, I am going to share the piece of code which can be reused directly.…
AEM is known for its re-usability and inheritance. It’s astonishing how a single component can be easily re-used across multiple locations. Adobe provides a set of pre-defined components that comes with all the functionalities to build a website called core components. To extend those components, a mechanism called proxying is used – where the instance…
There are many ways inheritance is implemented in AEM. For today’s topic, we would be discussing a couple of use-cases on how to access the properties from either ancestral pages or components Use case1: Accessing a page property that is authored on the home page into its child pages using java code. Solution: HierarchyNodeInheritanceValueMap An…
In AEM, we fetch the values of multiple properties via java code and display them in HTL. Common Way of fetching the properties: There are many other adapters available that we can adapt a resource with. You can check them here. Fetching the property values of a sub-resources becomes complex here. So, lets discuss a…
Hello everyone! Hope all of you and your families are safe & sound. Today, I have come up with some interesting topic. Hope you all will like it. Definition – “Metadata is data that describes other data“. This is very apt for AEM as well. AEM supports different kinds of assets and metadata talks more about…
In AEM, Nested Multi-Field is every developer’s nightmaređ¤Śââď¸. In this blog we will discuss how to easily access the nested multi-filed values from the dialog and show them in HTL. Below, I would add the code of each module which follows all the latest coding techniques [like R7 annotations, HTL etc.] and will explain them…
As you already know keeping the business logic separate from the view is the best practice which AEM suggests. In this post, we are going to discuss on the VIEW part which is HTML Template Language (HTL Formerly Known As Sightly). Below is the list of HTL tags that can be used in different scenarios.…
As many of you know, we are now already out of SCR annotations and moving swiftly into OSGI Declarative services[Post AEM 6.2]. In this blog we are going to discuss only about the OSGI declarative services annotations [R7] which can be used in different scenarios. All the Annotations below can be used directly in the…
What is Maven: Maven is an automation tool used to build and deploy the code for java applications. All the maven commands are supposed to be run in the command prompt (of course đ) How to check your maven version: To run all the below mentioned commands, you need to have maven installed in your…