Customizing Granite UI Form Field Component

In this article, I will be showing how to customize a Granite UI Field component with an example. Use case: Customize the Granite UI Textarea field component to display the number of characters the author has entered in the field.... Continue Reading →

AEM with Angular2

In this post, I will be sharing my view on Integrating AEM 6.1 with Angular2 and other front-end technologies with an example. Getting started  Requirement AEM component with Angular2. Create an AEM with Angular2 Form Component which displays address suggestions... Continue Reading →

Junit tests using Mockito & PowerMockito

Contents Unit Test Mock Spy Difference between Mock and Spy Difference Between doReturn()/when and When/thenReturn()  Ways to Initialize the Mocks Why Mockito does not mock static methods Mocking a Static Method of an external class Mocking static void method call ... Continue Reading →

Write/Read Binary data into/from JCR Node.

Write Binary Data :  We can use Node API classes ValueFactory and Value to store binary data into JCR. ValueFactory can be used to create Binary object from InputStream and Value object from binary object. Read Binary Data: Example :

AEM 6.2 User Migration

AEM Instance migration  is common in real world , Package manager does help when you want to move users and groups privileges from one AEM instance to another. User Migration Steps : Go to package manager Create a package for... Continue Reading →

Run Modes in AEM

Run modes in AEM allow you to configure AEM instances for specific purposes. For example, We can configure environment specific OSGI Services meta data manually from felix console, But the problem here is whenever new build is deployed the OSGI... Continue Reading →

Blog at

Up ↑