How to make Sling Interface in AEM

Here I am going to tell you that we can also use the Sling interface instead of the Sling model. We use sling model in case where we have to do manipulation over data. But where we want to show only values we can use sling interface. Sling Interface is shown below. In Sling Interface […]

Read More

How to make a GET request in AEM using Apache Fluent

In this post, I am making a service of GET request and using that service in a servlet to show the data. API URL = https://thesimpsonsquoteapi.glitch.me/quotes We will hit this URL to get our data inside a service and using Apache Fluent and converting into formatted JSON using Jackson. Service  import com.fasterxml.jackson.databind.ObjectMapper; import org.osgi.service.component.annotations.Component; import org.apache.http.client.fluent.Request; […]

Read More

Removing extra component div in AEM

While you make a component and if you see the HTML of the component in publish mode then it contains the extra div of the component due to this your css and js might break. So to remove the component div you have to make cq:htmlTag node inside your component. This node primaryType is nt:unstructured. […]

Read More

AEM integration with Adobe Analytics

We have integrated AEM with Analytics for multiple projects. Integration with Analytics is a choice of the client whether they want to add development team to update all the components with Analytics data attributes or only Adobe Analytics team provides a JS that manages all the analytics by itself. Both of these approaches has its […]

Read More

AEM with Adaptive Form

We have developed multiple solutions using Adaptive form and Project UI of AEM. Here is the use case- We created a solution for a digital media firm. A client has a very tedious internal approval process for media content and they were following manual process for it. Process was time consuming for creating and setting […]

Read More

AEM 6.4 Touch UI Rich Text Editor Remove Bold and Add Strong

AEM RTE Bold plugin wraps text with “b” tag by default, but now “b” tag is not recommended so far and for accessibility also we need “Strong” tag.  <b> is a style – we know what “bold” is supposed to look like. <strong> however is an indication of how something should be understood. “Strong” could […]

Read More

HTML of a Page in OSGi Service in AEM

In this blog, I will explain one interesting use-case of one of my project. Here is the user-case-   “whenever we activates a page on author instance we need to get the HTML for the activated page and send this page HTML to another search engine. “   In this blog, I will explain how […]

Read More

Enable RTE Plugins For Content Fragment

In this blog I am going to explain a Content Fragment related issue. This solution is working for AEM6.5. This solution has not been tested for earlier versions of AEM. I will explain this issue on the basis of questionnaires. Let’s start-   Can we update RTE plugins for Content Fragment? Yes we can. By […]

Read More

OCD issue with @Activate annotation

In this blog, I will explain a very common error made by AEM developers during the development of OSGi Components. So most of the AEM developers those earlier used Felix SCR annotation for OSGi component creation, made this common mistake.   Here are some common issue statements said by AEM developers. Some developers said that […]

Read More

Named Transform Image Servlet (Image Renditions on the Fly)

ACS Commons Package version 3.19.0 Available version for this servlet is 1.5.0.   Purpose:  Many web site designs demands consistency of images based on their use within components. For example, a panoramic spotlight may demand the image be 960 x 400, and bio picture must be 100 x 100 and greyscale.   Some times we have […]

Read More