Shivam Kumar Chauhan

SAML Integration with AEM

SAML (Security Assertion Markup Language) is a key technology through which we can achieve SSO (Single Sign On). In Adobe Experience Manager (AEM) 6.x, a SAML authentication handler is provided by default. How to configure SAML in AEM? There are some simple steps through which we can configure SAML in AEM Go to the AEM […]

Read More

Use of Import-component.js in React with AEM

If you are using the archetype used in part 1 , then your react module contains a file called import-components.js . 1.What is the Use of import-component.js ? You need to import the components inside import-components.js , Otherwise, you will not be able to show your component into the page.i.e. Here is the location of […]

Read More

SPA in AEM 6.5 Part 2

1. How to create a custom SPA component ? Lets create a component in AEM For creating custom component you need to remember these things i.e. There is a mapping of components between aem module and react module. We should use Sling exporter to export our component json and so that it can be accessed […]

Read More

SPA in AEM 6.5 Part 1

What is SPA? SPA stands for single page application. It is a new feature in AEM 6.5 which helps us to build single page applications using react or angular with AEM. How SPA works in AEM? Let’s understand the flow using this diagram — We have an AEM Component in which we can have nodes […]

Read More

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