Here is a useful servlet following best practices to take a file from a client application and write it to the JCR. We follow best practices using the LoginService. Also, do not forget to set the Apache Sling User Mapper service to the appropriate user (for testing on a local instance, use admin). I...
When I try to UPDATE my Maven project ( Chapter 8 - Using JSP with AEM 6.0 ) after I updated my main pom.xml with the javax.servlet.jsp dependancy, I get the following error :Missing artifact javax.servlet.jsp:jsp.api:jar:2.1I even tried to compile from command line using mvn compile and get the sam...
You need to have: org.apache.sling.models.api.1-1.0.jar installed in the OSGI console, system/console/bundles. Before doing extensive troubleshooting, be sure this bundle is installed. The error might look something like this:Failed installing bundle : Unable to install/update bundle from dir C:\Use...
This error may occur when you run AEM 6.0 with Java 8. Java version 8, is not supported with AEM 6.0 until you install the service pack. If you are having that problem, install the service pack. You can follow these steps: Download the most recent Service Pack (SP2) from package share or from our d...
Hi I want to create a french language copy of an English page but i am not able to see the more language names apart from "English " or English+" any idea how can i add more languages to the create language copy dialog drop down as shown in attached image
I am working on custom form action.So far I am able to achieve the following points.1. Added Custom Form Action.2. Overlap Forward.jsp page.3. From Forward.jsp able to successfully route to Custom SlingServlet.4. In Custom Sling Servlet I have the following requirement. a. Get all request parame...
Hi Everyone,This is my first post after attending the developer and advanced developer courses on CQ5.5. Everything has been fine up to the point where I am trying to create and consume an OSGI service but am receiving an error. I was hoping someone could help?I have created a bundle which has an ...