AEM

Dispatcher Configuration on Apache2 Server

In this blog, I will explain the easiest way of dispatcher configuration on Apache2 Server and OS version Ubuntu 15.04. This configuration will also work on Ubuntu 14.04. Let’s start:- Firstly, you have to install Apache2 server on your Ubuntu machine using this command- sudo apt-get install apache2 Now type the command- sudo service apache2 start Now […]

Read More

Custom Multifield xtype in AEM

In this blog, I will explain how can we create custom multifield in a dialog and design dialogs. For creating a custom multifield, Firstly we have to create a node with the properties jcr:primaryType = cq:Widget and xtype = multifield. Under this node we have to create a node named as fieldConfig with the properties jcr:primaryType = cq:Widget and xtype = multifieldpanel. For the custom multifield xtype we […]

Read More

Resource Resolver Object in AEM6.x Services

As we know that getAdministrativeResourceResolver() method has been deprecated from ResourceResolverFactory interface in AEM6 and above versions. Then the question is-   Q1). How to get ResourceResolver object in Sling services in AEM6.0 and above versions? If you are working with AEM6 or AEM6.1 then you have two options- If you know the credentials of […]

Read More

RTE Source Edit Plugin in AEM

In this blog, I will explain how can  we enable source edit plugin in RTE component in AEM. To add Source Edit plugin in RTE component, we have to create a node named as rtePlugins under richtext node having jcr:primaryType=nt:unstructured. Under this we have to create a node named as misctools having property features= *.Let’s see it with an example-I […]

Read More

Removing component’s auto generated div in AEM

In this blog, I will explain how can we remove extra div those are generated automatically when we use either sling:include or cq:include in our jsp. Now the question arises, can we get rid of these extra divs? Will they be generated everytime? If we can remove these extra divs, how can we do that? In this post, I […]

Read More

Template visibility at every page

In this blog, I am going to share a very interesting point related to the allowedPaths property.If you create your project and in this project you create a template and want to create a page using this template, your template will not visible in the siteadmin. But if you copy the same template and paste in the […]

Read More

Remove p tag from RTE in AEM

In this post, I will explain how to remove <p> tag from RTE (Rich text editor) in AEM. For removing the <p> tag we have to create a node named as htmlRules having jcr:primary type nt:unstructured. This node will have to create under the widget node which xtype is richtext. In my case, I have created a node named as “heading with property xtype = richext“ and created […]

Read More

AEM Templates in Details

In this post, I will explain most useful properties of templates or you can say most useful features provided by templates. Most of AEM developers familiar with these properties but don’t know how to use them. In this post I will explain all of these properties in details.   Agenda   Allowed Paths Property (allowedPaths) Allowed Templates Property (cq:allowedTemplates) Allowed […]

Read More

AEM Developers Google Chrome Extension

In this post I will explain features of “Google Chrome AEM Extension Plugin”. For using AEM extension first add this plugin to your chrome browser from Chrome web store. After adding this plugin into your Chrome, you are able to see an icon at top right corner as shown below.   Now open any AEM content page as […]

Read More

Maven-Scr-Plugin Error in AEM

In this blog, I will explain an error occurred when we build an AEM project using – mvn clean install -P <Profile Name>, maven command. Error description is as shown below –    [ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.7.4:scr (generate-scr-descriptor) on project blog-bundle: SCR Descriptor parsing had failures (see log) -> [Help 1] [ERROR]  [ERROR] To […]

Read More