OnDeploy Scripts


OnDeploy Scripts to modify JCR content during Code deployment. During the course of project development, there would be many scenarios where some content (property/node) needs to be modified throughout the content hierarchy.  That content fixup needs to be done in all the environments and many times its just a one time job. To cover this very common use case, ACS Commons (3.15+) came up with OnDeploy Scripts.

Advertisements

Persisted Selectors


What is Selector? Apache Sling defines Selectors as: ” If the first character in the request URL after the resource path is a dot (.), the string after the dot up to but not including the last dot before the next slash character or the end of the request URL comprises the selectors. If the resource…

Tool for Dispatcher Security


Dispatcher Security is one of the most ignored things in AEM implementations. I used to wonder why people still do this manually and don’t follow any best practices while configuring it. Adobe recommends using a Security Checklist, but who has got time for doing it manually when you can automate it. And it gets complex with…

Digest the Query Builder API


A lot of times I have experienced and seen that Heavy Queries are mostly responsible for the bad page load speeds and performance of the application.  We all have used Query Builder API in some form or another , but a lot of times we miss its complete potential. Through this post I want to…

GitHub Project


Hi, Watch out this GitHub space – https://github.com/hashimkhan786 where I would be sharing a lot of useful scripts and code for everyone to pick or enhance and contribute to the AEM community. Feel free to clone the repository and use in your projects or if you think you can contribute to the repositories you are most…

Useful Shell Scripts for AEM


Evolve your work-style with Shell Scripts in AEM. I thought of sharing few of the useful scripts here so that you can also use them in your day to day work without much hassle. Secondary aim of this blog post is to expose you to Shell scripts , if you are not using it yet and give you an inspiration to build your own script one day and share with everyone .

Sling Pipes


Its a tool where you can load content tree nodes , perform some operation and either Retrieve an output or Modify the nodes. The aim here is to provide reusable blocks called pipes which can be configured for any possible operation on content.

Query Builder


Search is always the backbone of many functionalities in an AEM application . It becomes quite critical in Business scenarios to implement the most Optimized Query which fetches the best possible result. To perform search in AEM , Query Builder is highly recommended over simple SQL / XPATH query statements. The Query Builder , if…

Useful Links


Hi Guys, Through this page I would be sharing all the important Links which become quite useful and handy while executing projects and for quick reference . I am using these myself and so may the world . I would be updating and categorizing them whenever I will find something worthy. Keep this page as a bookmark…

Adventures with Groovy Script


Hi Friends, Throughout my project experiences , I have been surrounded with quite challenging tasks. One of that was exploring Groovy Script. By this blog post , I would try to make you familiar with Groovy and I am sure by the end of it, you will be loving this language. Check out all the…