Customizing AEM Toolbar


Adding new action to an AEM Assets Toolbar consists of 2 steps: Configure the new action for the toolbar Add a client library to execute some operation on clicking the action. In the following example, we are adding ability to publish and unpublish assets from the Collection view. Step 1: Resolving the location of toolbar … Continue reading Customizing AEM Toolbar

cURL execution from Java program


cURL is a tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNETand TFTP). The command is designed to work without user interaction. With AEM, you can use cURL commands to modify repository, download json, access OSGi information etc. Snippet to download a json … Continue reading cURL execution from Java program

Connecting AEM from remote AEM instance (via JCR API)


The best way to allow communication between two AEM instance is by: Exposing a service from the AEM instance which acts a source of information  (say Source-AEM) Consuming the exported service in the required remote AEM (Consumer-AEM).   In case, you have a use-case where: A Service cannot be exposed via source AEM A utility … Continue reading Connecting AEM from remote AEM instance (via JCR API)