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 […]

Read More

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

 

Read More

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. […]

Read More

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

Read More