Text
Revived, Refreshed and Rejuvenated !!
#AdobeAEMClub is back with a new name. Please mark it!!
https://aem.adobemarketingclub.com/
0 notes
Text
A cookbook for Replication in AEM
A cookbook for Replication in AEM
Before getting deep into replication concept in AEM, I thought like “Replication is just activating/publishing a page from author to publish environment”. While going deep through this concept, came to know about various faces and features of replication that excited me a lot. The overall objective of this article is to share comprehensive knowledge on replication process in AEM. For some topic,…
View On WordPress
0 notes
Text
Enable SSL By Default in AEM6.3
Hello All,
Happy to be a part of Adobe AEM Club. Sharing my article on How to Enable SSL by default in AEM6.3. Looking forward to write more interesting topics in the future.
In this Article, I am going to explain how to use SSL Wizard in AEM6.3 to enable SSL by default for AEM instances.
Before start explaining how to enable SSL in AEM, I want to share the necessity behind https implementation…
View On WordPress
0 notes
Text
A simplified approach to clear AEM Developer, Lead Developer and Architect Certification
Disclaimer: This article reflects my own personal views and approach I took to clear all these certification exams in a year.
Two basic rules-
Do not look out for dumps, loser does so.
Theory won’t work, you need to know practical for most of the topics.
General Thoughts
Every certification needs you to be good with certain kind of knowledge. Once you are confident enough in knowledge, give…
View On WordPress
0 notes
Text
How to fetch current resource path in Datasource ?
Need to fetch the current component resource path in repository, use below code in your datasource file
String suffix = slingRequest.getRequestPathInfo().getSuffix(); if (suffix==null){ return; } Resource res = resourceResolver.getResource(suffix); if(res == null) { return; } log.info("Path {}", res.getPath());
View On WordPress
0 notes
Text
How to overlay a client library in AEM?
Clientlibs folders located below /apps take precedence over same-named folders that are similarly located in /libs path.
For example, /apps/cq/ui/widgets takes precedence over /libs/cq/ui/widgets. When these libraries belong to the same category, the library below /apps is used.
After overlay, if you have js.txt at both places (/apps and /libs) it will load clientlibs twice. To avoid, make sure…
View On WordPress
0 notes
Text
How to add 'X-FRAME-OPTIONS' to response in AEM 6.2
How to add ‘X-FRAME-OPTIONS’ to response in AEM 6.2
Que: How to add ‘X-FRAME-OPTIONS’ to response in AEM 6.2 ?
Ans: Config at can be used http://<host>:<port>/system/console/configMgr/org.apache.sling.engine.impl.SlingMainServlet
Source
View On WordPress
0 notes
Text
Which user is resolved when used 'request.getResourceResolver()' in AEM 6.3?
Which user is resolved when used ‘request.getResourceResolver()’ in AEM 6.3?
Que: When you are accessing the resource resolver from a sling request object, what user is this resolver mapped to?
Ans: If you do request.getResourceResolver(), the user is used of the current session. That is the recommended way, because the permissions are respected of the current user.
Source
View On WordPress
0 notes
Text
Display YouTube Component using JSON Data
Display YouTube Component using JSON Data
Develop an AEM HTML Template Language component that uses the WCMUsePojo class and invokes a third-party Restful web service. Also, discusses how to use the GSON Java library within AEM to parse the JSON reponse.
You can create an Adobe Experience Manager (AEM) HTML Template Language (HTL) component that displays data retrieved from a third-party Restful web service. For example, if you want to…
View On WordPress
0 notes
Text
AEM 6.3 - Identify difference between foundation components and core components.
AEM 6.3 – Identify difference between foundation components and core components.
Provide components that are easier to use.
Reduces the number of code changes needed to use these components.
It provides a way to configure a component once it’s used in a template via UI in template editor.
Provides clear css naming to style and theme of the components without changing the HTL code.
Introduces versioning of component.
Best practice to provide content model to components via…
View On WordPress
0 notes
Text
INTEGRATE AEM WITH LDAP
INTEGRATE AEM WITH LDAP
You can configure Adobe Experience Manager (AEM) 6 to synchronize user account information from a third-party LDAP service. By configuring AEM to use a third-party LDAP service, you can authenticate LDAP users when logging into AEM. This article describes how to setup Apache Directory service (a popular open source LDAP service), create a new user, configure AEM 6 to use Apache Directory…
View On WordPress
0 notes
Text
Admin Search Panel Customization
Admin Search Panel Customization
With AEM 6.2, Adobe have introduced ‘OmniSearch’ which is very useful for the authors to search anything from the repository. This OmniSearch is a full text predicate based which drives the results from its smart tag. So Authors can pretty much search anything they want from OmniSearch for the ‘Sites’
Where as in Classic UI of AEM 5.x, Authors will have a ‘Site Search’ in /siteadmin where they…
View On WordPress
0 notes
Text
Projects API in AEM
Projects API in AEM
AEM included a concept of ‘Project’ along with its Touch UI navigation. Projects allows you to have a collection of all the related resources for a project together. Resources includes Sites, workflows, Assets, Launches etc. Read AEM-Projects to know more on Projects.
With this console, you can access and take actions on your projects. You can create the project with the predefined project…
View On WordPress
0 notes
Text
Toggle fields based on selection in Granite UI dialogs
Toggle fields based on selection in Granite UI dialogs
Classic UI was built on top of ExtJS library which has tons of inbuilt methods that can used for anything starting for simple field validations to dispalying data rich content. I have taken a simple use case which was easy to implement in classic UI but there is no approach available for it in Granite UI and have seen many developers writing complex JS code to make it work.
The use case which I…
View On WordPress
0 notes
Text
Companion Tool – Desktop App for AEM DAM Assets
Companion Tool – Desktop App for AEM DAM Assets
Adobe have released AEM Assets Companion tool which is renamed as ‘Desktop App’ after AEM 6.2 which lets you to map all the AEM Assets to a network directory which sits local to your system. This would be a great tool for authors, business in many ways
It helps to upload, delete assets in bulk. This will also eliminate the usage of WebDAV and makes it simple.
Users can edit the images locally…
View On WordPress
0 notes
Text
Access to ResourceResolver in OSGi Services : AEM 6.1
Access to ResourceResolver in OSGi Services : AEM 6.1
We all know that from AEM 6.0, usage of Admin Session to access the ResourceResolver is deprecated which means we cannot use session = repository.loginAdministrative(null); anymore !
Instead, AEM comes with the concept of Service based authentication to get the access to ResourceResolver.
Let us see how to create the Service Users and Use the same to get the access to ResourceResolver in the…
View On WordPress
0 notes