Deploying ACLs with Netcentric accesscontroltool in AEM


The current blog focuses on deploying ACLs via Netcentric AccessControlTool in AEM 6.5 and AEM as a Cloud Service. Challenges faced Issue 1: The latest Project structure recommends deployment of third-party packages via embed statement. Though, I was able to deploy "accesscontroltool-oakindex-package" via embed, "accesscontroltool-package" didn't install. Resolution: Use sub-package for deployment of "accesscontroltool-package" [No … Continue reading Deploying ACLs with Netcentric accesscontroltool in AEM

ConfigurationAdmin – Access OSGi configuration of other services


In this article we will explore ConfigurationAdmin interface. Service for administering configuration data. ConfigurationAdmin is a dictionary of properties. To identify a target service's dictionary use its PID. Sharing as code snippet that reads "rootmapping.target" configuration of the OOTB "Day CQ Root Mapping" service. https://gist.github.com/aanchalsikka/dd0bfd893eaf4492ef3453b7b723d45a When a target service's configuration is updated, config details would … Continue reading ConfigurationAdmin – Access OSGi configuration of other services

Editing jcr:data/binary/rendition in AEM


Sharing a code snippet to update a Binary file stored in AEM. Here, we are updating a binary file stored as jcr:data in the original rendition. https://gist.github.com/aanchalsikka/9f6ab7f60082d4af1299e1772f67069b