Sightly Pagination Component using Sling Model and JavaScript Use API in AEM 6.1

 

 I will be demonstrating a Sightly Pagination Component in AEM 6.1, complete code and sample authored pages are available on our GitHub Repository To any AEM Developer, I would highly recommend you to go through this article as this pagination component works together with some of the important concepts of AEM like Query Builder, Sling Model, JavaScript Use […]

Read More

Root Mapping Configuration in Adobe AEM

 

 Default Configuration of Root Mapping In Adobe AEM, when you hit http://<host>:<port>/ by default it is redirected to Author: /projects.html (AEM 5.6.1 and above) Publish: /content.html How it works ? “com.day.cq.commons.servlets.RootMappingServlet” – is responsible to redirect to the set root URL configure using the property called “rootmapping.target” If you go to http://<host>:<port>/system/console/configMgr in each of the instance, you would […]

Read More

Reading OSGi Configuration properties

 

 Having talking about different ways of managing OSGi configuration here, I would like to extend from there and talk about how to create the configuration properties for a service how to read the configuration values in the service. How to Create the configurable properties:

As shown in the above example, Use @Property annotation for […]

Read More