AEM · AEM 6

AEM | ACS – Generic List | Extend Template for your site


ACS List template is visible to “/etc/acs-commons/lists” path only. As we will be creating Site specific lists, We need to override Generic List template. Note: Please see Generic List – Support Site Inheritance for better understanding of Generic List requirement and complete solution. We will support the following  list hierarchy | |– etc |——-lists |———— <site A> |——————— <List 1>… Continue reading AEM | ACS – Generic List | Extend Template for your site

AEM · AEM 6

AEM | ACS – Generic List | Service to Configure Site Specific List


In this article we will create a list service, which will allow Multiple sites to configure List path, we will create a service and will use site specific runmodes for site-list configuration. Note: Please see Generic List – Support Site Inheritance for understanding of Generic List requirement and complete solution. Resources Code – Download Run Mode – Download Step 1: Create… Continue reading AEM | ACS – Generic List | Service to Configure Site Specific List

AEM · AEM 6

AEM | RTE – Allow #id attribute


By default, RTE html parser remove #id attribute. To allow attribute “id”, add following configuration in  items/items/text/htmlRules <htmlRules jcr:primaryType=”nt:unstructured”> <serializer jcr:primaryType=”nt:unstructured”> <config jcr:primaryType=”nt:unstructured” idAttribMode=”keep” removeSingleParagraphContainer=”{Boolean}true” singleParagraphContainerReplacement=””/> </serializer> </htmlRules>

AEM · Dispatcher

AEM | CUG | Dispatcher configuration to cache secure pages


While configuring Dispatcher for some secure pages (defined using CUG), i faced challenges to configure dispatcher, so documenting my finding below: Scenario: I am using AEM login functionality, With CUG enabled page protection, and using Dispatcher to cache my pages. I want to cache my secure and non-secure pages on dispatcher, but also want secure pages to be accessible… Continue reading AEM | CUG | Dispatcher configuration to cache secure pages

AEM · Sightly

AEM | Sightly Template – What and Why?


What is Sightly? Sightly is the new AEM templating system. It is the preferred script for developing new components. Sightly is different from other templating systems: HTML5 Giving back the markup, and not mixing it with code Allows for a smoother transition between designer and developer Secure by default Sightly is recommended Template engine from AEM… Continue reading AEM | Sightly Template – What and Why?

Life

Stochastic Probability Theory – Pregnant Deer Scenario


Consider this scenario: In a remote forest, a pregnant deer is about to give birth to a baby. It finds a remote grass field near by a river and slowly goes there thinking it would be safe. As she moves slowly, she gets labor pain…. at the same moment, dark clouds gather around that area… Continue reading Stochastic Probability Theory – Pregnant Deer Scenario