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

How to assign a workflow dynamically in AEM

Photo by Campaign Creators on Unsplash

Very often when creating custom workflows in Adobe Experience Manager (AEM) we need to be able to request input from a user. AEM support out of the box assigning directly to users or groups. Many times you want to be add some business rules on who to assign. Dynamic Participant Step AEM comes with a… Continue reading How to assign a workflow dynamically in AEM

Parsing AEM workflow arguments

Photo by Lisa Fotios from Pexels

AEM (Adobe Experience Manager) provides the capability for creating custom workflow process. This can be very helpful when there is a need to automate some actions on the workflow. The default workflow process dialog allows you to pass arguments to the workflow. The arguments functionality allows you to easily reuse your custom processes in other… Continue reading Parsing AEM workflow arguments