This is a great article from Adobe's Scott MacDonald on how to create a Tree component and also offers a solid primer on the Touch UI. However, if you don't feel like creating all of the Nodes manually, the AEM enablement team has created the XML for the Touch UI dialog box, available here:Dropbox -...
Client libraries, as detailed in the videos, are important parts of any AEM implementation. You can use the HTML library manager to help manage your client libraries. Go to system/console/configMgr and search for Day CQ HTML library manager. You can set up minification here by clicking the checkbox....
Dispatcher flush agent usually sends an invalidation requests whenever your HTML files are changes i.e. for changes done cq:page nodes, your dispatcher flush agent will trigger and invalidate the cache. For changes done in CSS and JS files, the process isn't the same. Dispatcher flush agent could be...
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...
We've created a simple Swing JAR executable that calls a Sling Servlet, thanks to Scott MacDonald AEM Community Manager. The executable JAR is here:Dropbox - Executable JARHere is the source code for the Swing JAR, with comments:import java.io.*;import java.awt.*;import java.awt.event.*;import javax...
Hello,For those of you who want to test out your Sightly code in a simple web based tool, I recommend you install this. You can browse to http://localhost:4502/content/repl.html and just delete the existing statements and see the outputs on your page. It is very useful and the Maven project is here:...
Very useful PDF file from Adobe for making sure your installation is XSS secure. https://docs.adobe.com/content/docs/en/cq/5-6-1/developing/securitychecklist/_jcr_content/par/download/file.res/xss_cheat_sheet.pdf
I have AEM 6 in Java 1.7.I can go to site page (http://localhost:4502/sites.html). When I select + sign to create a site, nothing comes up. I am not able to create a site.
As you know from AEM development, you can use selectors in the URL of your pages. Unfortunately, this is also a common area for Denial of Services attacks. Let's look at some strategies to mitigate these types of attacks:The best way to prevent the above is to do a validation of the selectors at the...
AEM does not have out of the box support for two factor authentication. Typically, this is implemented by using a separate product that integrates with AEM via SAML version 2