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

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

Read More

useful links aem

Useful AEM articles

 

 These are some of the useful kb articles of AEM AEM 6.x AEM_6_TarMK_Online_Compaction : If you are seeing rapid repository growth on an AEM 6.x instance https://helpx.adobe.com/experience-manager/kb/AEM_6_TarMK_Online_Compaction.html aem6-available-hotfixes : Adobe Experience Manager 6.0 hot fixes https://helpx.adobe.com/experience-manager/kb/aem6-available-hotfixes.html aem61-available-hotfixes : Adobe Experience Manager 6.1 hot fixes https://helpx.adobe.com/experience-manager/kb/aem61-available-hotfixes.html DisableLineChecker : Disable the CQ5 Link Checker https://helpx.adobe.com/experience-manager/kb/DisableLinkChecker.html AEM 5.x AnalyzeMemoryProblems : […]

Read More

Exception while calling a Servlet in AEM

 

 Question:  I am trying to access a servlet with a doPost method from the JSP and getting the following exception -Caused by org.apache.sling.api.resource.PersistenceException: Resource at ‘/location/Stores’ is not modifiable.   at rg.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setProperty(SlingPropertyValueHandler.java:153)     at org.apache.sling.servlets.post.impl.operations.ModifyOperation.writeContent(ModifyOperation.java:411)     at org.apache.sling.servlets.post.impl.operations.ModifyOperation.doRun(ModifyOperation.java:101) My bundle is built successfully and the resource resolver shows the path as expected and resolves to […]

Read More