I have a question about adding a large Javascript library to a component in AEM - specifically, Material Design. So far in my experience with AEM, I've added JS files individually to my clientlib folder, but Material Design has dozens (possibly hundreds) of JS files to control the various components...
I add cookie to the SlingHttpServletResponse by using code: String accessToken = objectResult.getString("access_token"); Cookie responseCookie = new Cookie("web-token", accessToken); responseCookie.setMaxAge(1000); responseCookie.setPath("/"); response.addCookie(responseCookie);When I want...
Hello everyone,maybe it is a dummy question but I couldn't found a solution until now.I have this simple Servlet:@SlingServlet( paths={"/schafbergbahn/ticker"}, methods = "GET", metatype=true )public class SimpleServlet extends org.apache.sling.api.servlets.SlingAllMethod...
Hi all,I installed the AEM Desktop App UI and it was working fine for sometime. But later on the App connects for the first time after restart and then it does not mount the repository into drive and throws the popup that drive is not available.After that when I connect for the second time, the icon...
Hi ,We are doing the cleanup activity, where the old nodes(custom) are being deleted from each user profiles. since this is affecting huge number of nodes, we implemented a scheduler to take input as "/home/users/A" and start deleting the nodes which falls under some date criteria. Scheduler is work...
Hi All,I am trying to expose some RESTfull webservices on AEM. I have followed the instructions in this http://techagyan.blogspot.in/2015/02/be-restful-on-aem6.htmlI'm getting following error:"@Component : Service interface information is missing! (org.apache.felix:maven-scr-plugin:1.20.0:scr:gener...
Hi All,is there a way to adapt a resource to custom model class in sightly?I have a custom model and i want to adapt a resource to it in sightly html code not in java.Thanks,Khalid
We have the following js code to generate a component with a video (inspired by foundation/components/video/source.jsp) VideoProfile = com.day.cq.dam.video.VideoProfile, for (var i=0;i<videoProfiles.length;i++){ var vf = VideoProfile.get(resolver, videoProfiles[i]);On the pu...
Hi All,I have a requirement where need to configure a schduler that will send JCR data of specific node via email everyweek to sales team. I would like to make this schduler configurable to be able to select path + osgi service, so that same can be used if I want to tun this schduler for another new...