Hi, I have a component which I am including in base page body. In sling model of the component, how can I get if the current page is Home page or not. Thanks
Hey guys, we have implemented password expiry feature for users at config level. But we need to bypass the expiry feature for a specific set of users so that for those set of users the passwords are never expired. Is there any way to implement this?
Hello i am trying to follow the wknd tutorial on my aem local instance. I am trying to drag and drop the HelloWorld component on my page but i get the below error.I get the below error in my bundle when i checked, i dont know what how to fix this dependency. This is what it shows in depfinder
Hey guys, hope you doing fine. I am facing a problem with getting the currentPage in a component in AEM 6.5 with SPA. I am trying to get the current page inside of a model that is mapped to a component that is locked in a template, I think if I had the component unlocked the code to get the current...
In the List component which we have customized, we have this resource call to bring in the image from an article page that has been built using layout containers: <sly data-sly-resource="${item.path @ appendPath='/_jcr_content/root/responsivegrid/responsivegrid/image', resourceType='cfin/components/...
Hi All, As AEM as a Cloud Service is based on Sling Content Distribution mechanism, are there any references on how to create a custom event handler that can capture the content distribution event and whether it was an ADD or a DELETE that was triggered? I am going through the sling documentation bu...
Hi Team,We need to do customization out of box JSON response of an AEM Page.http://localhost:4502/content/wknd/language-masters/en/magazine/jcr:content.-1.tidy.infinity.json How to can achieve the above JSON format by using a custom service? bsloki. Jörg_Hoh Sham_HC jbrar. Opkar_Gill @arunpati...
Trying to get MOCK session object in workflow process class to satisfy below statement, but getting null value for jcrSession.Session jcrSession = workflowSession.adaptTo(Session.class);Code Snippet from Junit class==================================public final AemContext context = new AemContext();...
Hi All, I am using felix scr annotations. Sling servlet working fine for xml extension but not for txt extension. Attaching servlet code for reference@service()@SlingServlet(resourceTypes = "/apps/test/components/page/blankpage",selectors = "301",extensions = "txt",methods = "GET",metatype =true)pub...
In order to create a cors entry, we created a file: /myapp.ui.config/src/main/content/jcr_root/apps/myapp/osgiconfig/config.author.dev/com.adobe.granite.cors.impl.CORSPolicyImpl-myapp.cfg.json When we deploy the project to the local author instance using mvn clean install -PautoInstallSinglePackag...