How to add a tile with custom icon to AEM’s homepage

AEM allows you to customise the buttons on the homepage, so you can easily add links external or internal pages. Adding a custom icon To add a custom icon to your button you’ll need to add an extra clientlib and generate font files from an SVG. To generate the font files, I normally use Gliphter,… Continue reading How to add a tile with custom icon to AEM’s homepage

How to send custom emails in AEM (Part 1)

Photo by Maksim Goncharenok on Pexels.com

The ability to send custom emails in AEM is a commons requirement in projects. It could be during workflow steps, when users sign up, when a uses fill in a form, for certain events in your application. AEM provides utility classes for you to be able to send emails. However, there are some limitations. At… Continue reading How to send custom emails in AEM (Part 1)

Developing a custom workflow dialog in AEM

Photo by Jason Leung on Unsplash

We sometimes need to capture data during a workflow step in AEM and this can easily be achieved with out of the box components. Furthermore, we can choose if the captured data is stored on page properties or on the workflow’s work item. Building the dialog The first step is to build a dialog, the… Continue reading Developing a custom workflow dialog in AEM

How to add comments programmatically to an AEM workflow?

Photo by binh dang nam on Unsplash

Workflows can become complex depending on your business needs and in many situations it can be necessary or helpful to the end user to add comments dynamically/programmatically to your workflow. This allows the user to see a history of comments and identify issues, make decisions, and have more information on what happened to the workflow.… Continue reading How to add comments programmatically to an AEM workflow?

AEM workflow comments

Photo by Miguel Á. Padriñán from Pexels

How to access workflow comments? The default workflow participant step allows you to add comments choosing which process to go to. Although AEM stores the comments in the workflow itself, you can only see them on the comments tab of the workflow. What if you want to send the comments on an email or send… Continue reading AEM workflow comments

AEM Granite Render Conditions

Photo by Muesli on Unsplash

A Granite Render Condition is a way of conditionally rendering a component in an AEM Touch UI dialog. There are many situation where you might want to conditionally display an element of a dialog. Some examples are: Out of the Box Render Conditions AEM provides several OOTB render conditions that might be enough for your… Continue reading AEM Granite Render Conditions

Reading and Setting Closed User Groups (CUGs) Programatically in AEM

Photo by Markus Spiske from Pexels

Closed User Groups (CUGs) is the mechanism to restrict access to a resource (page or asset) and children by specifying the authorizable, either a user or a group, that can access it. AEM provides the functionality to set closed user groups (CUGs) to a resource, normally on the page or asset properties, where you edit… Continue reading Reading and Setting Closed User Groups (CUGs) Programatically in AEM