Hi, I have a servlet uses SlingServletPaths and Get Method. Servlet receives more than one request parameter then perform operations.I have below ServletTest to test my ExampleServlet. Below Error is thrown when I ran mvn clean install commandjava.lang.NullPointerException: Cannot invoke "org.apache...
I'm trying to write a query to list only one level of child pages but I'm getting the list from all the levels.below is the query I'm trying, is there a way we can get only one level of child pages. http://localhost:4502/bin/querybuilder.json?type=cq:Page&path=/content/xyz&orderby=@jcr:title any q...
Hello AEM community, I'm new to AEM and I want to know if there is a way to identify if the current view is on mobile or desktop on code level(methods or properties on AEM that I can use to identify) without using the viewport. I'm creating Image component that the author can use 2 images for deskto...
Hi Team, I have to create Multifield for that i will use SlingModel.Now how i can use @childresource to get the resource in sling model.If any one create done multifield with child resource annotation plz share the code it will be useful for me to understand. RegardsManikantha R
We need to use Template Types from a Base Project in our new Project.I know I can achieve this by Copy pasting the template type in my new project, but I am looking a solution that involves allowedPath or allowedTemplates or allowedTemplate-type properties, if there is any?Please suggest.
Hi, I am importing data from a json and I am finding problem while setting date field.I am using java util calendar and using set function.here is the peace of code'Calendar opCal = Calendar.getInstance() ;if (OpDate.length() > 0) { int ddOp = Integer.parseInt(schOpDate.substring(0,2)); int mm...
Hi ,I want to download AEM 6.5 jar file and license properties from online to setup my local instance .Can you please help me to get it? Thanks in Advance!Keerthi
Hi,I want to monitor my AEM 6.5 installation by using JMX.Looking at /system/console/jmx I thought I am able to e.g. read 'DISK_USABLE_SPACE' (and other metrics).While I can read some values/metrics e.g. this:java -jar cmdline-jmxclient-0.10.3.jar - localhost:12345 org.apache.jackrabbit.oak:name=SES...
Hi, Can anyone please share materials or resource or dumps for ADO-E121 adobe experience manager sites business practioner expert certification exam?Thank You in advance.
Hi there community, I am looking to get the current logged in user from the SlingHttpServletRequest. I am using a POST servlet that extends the SlingAllMethodsServlet. I can confirm that the login-token cookie is being sent with the request:String tokenCookie = TokenCookie.fromRequest(request).toSt...