Hi,Apart from rendering Sling resource in response to HTTP requests, is there a way to render them programatically:protected void doPost(SlingHttpServletRequest request, SlingHttpServletResponse response) throws ServletException, IOException { String output = // render "/content/foo/bar/baz.html" re...
Hi,I have a question regarding "use of third party jar" in AEM 6.0 SP2. I am listing down steps which i performed, hoping to get some solution :I wrote a standalone java program which uses three jar files internally which i wanted to move to AEM ( wanted to make same functionality as a workflow meth...
Hi,I have not found how to do what I want in the AEM documentation or in a tutorial...Is there a way to retrieve the data of a social component in a structured way? I know that I can retrieve specific nodes in the repository, but I need to figure out how the social component is implemented in the re...
We have a requirement where we need to add a custom header with dynamic value for .pdf requests we thought of below options:1) Create a filter and intercept the request.2) Rewrite the url to add custom selector in dispatcher, so that my custom servlet will be resolved.Can you please suggest us if yo...
Hi there,There is a difficulty case to me: i wonder if there is a API to get locale code. E.g., when i get node "/content/geometrixx/fr/products/square", the API could return the "fr"(french); and when i get node "/content/geometrixx/en/services/banking", the api could return the "en" (English). A...
Hi,I'm new to AEM development and I have some doubts on the flow for developing websites using it.Let's say we have a company site, that has the following structure:HomeProductsProd1Prod2ServicesService1Service2ContactOn the Products page we will list the child product pages and display some informa...
Hi,Just want to understand the diffrence between the approach to get a JCR session like below:Approach 1ResourceResolver lResourceResolver = pResolverFactory.getAdministrativeResourceResolver(null);Session lSession = lResourceResolver.adaptTo(Session.class);Approach 2Session lSession = repository.lo...