JSP is calling some APIs which resides inside the bundle and performing some operations with ResourceResolver object. These APIs which resides inside the bundles are getting the resourceResolver object from the SlingRequest like - resourceResolver = SlingHttpServletRequest.getResourceResolver(); ...
In one of the forms, we added a file upload component. The form works perfect for admins (since admins have jcr:all) under the node where data is stored. however, when we upload a file, under the jcr, it creates a node of file type "nt:file" for each entry folder. Issue is the top level node by defa...
Hi All,I have created helper class and written some of the utilities as part of it.Now when i am trying to access this inside my sightly component HTML ,getting below exception.com.xxxx.dcom.sightly.helpers.components.HomePageBannerComponent POJO.io.sightly.java.compiler.CompilerException: java.lang...
Hi All,a] If I create a workflow in AEM 6, with the below mentioned step[as seen in the screenshot] then basically I am creating a worlflow that will create a jpeg image in rendition 2:1 and skipping the mentioned formats with quality 90, correct?b] If I give dimension as 900:300 in the above with o...
Code Snippet final Resource jcrResource = resource.getChild("jcr:content"); final ValueMap valueMap = jcrResource.adaptTo(ValueMap.class); final String title = valueMap.get("jcr:title", ""); // GETTING THE TITLE POPULATED WITH SOME VALUE++++++++++++++++++++++++++++++++++++++++++...
Hi,Again a question about the Sling Model, are the equivalent1). final Resource jcrResource = resource.getChild("jcr:content"); final ValueMap valueMap = jcrResource.adaptTo(ValueMap.class); final String title = valueMap.get("jcr:title", ""); // GETTING THE TITLE POPULATED WITH SOME ...
Hi Everybody,I have to search cq with a string "next_gen" which is present on multiple pages on my site. But while making search through query builder cq returns me pages with search "next gen" also. I can see this on 5.6,6.0,6.1. Similarly #maximum returns results for maximum and so on.Url for quer...
Hi,I am trying to replicate user from one publish to another in AEM6.1, regarding that I found a documentation https://docs.adobe.com/docs/en/aem/6-1/administer/communities/sync.htmlAfter following steps it is not working, it seems that I am missing on import/export configurations under /libs/sling/...
I am observing a strange problem after I changed the struture of my project which is build on AEM 5.6.1. My login page is not working. If I try the URL/siteadmin - it is giving me a blank page with the below error in the console.03.03.2016 15:32:32.955 *ERROR* [10.86.13.93 [1457019152952] GET /libs/...