Skip to content

Adobe Experience Manager

AEM tutorials, from the first install to headless delivery

Practical tutorials on Adobe Experience Manager (AEM) for developers, architects and authors. The core guides are written for AEM as a Cloud Service, the version Adobe updates continuously, and note where AEM 6.5 differs. Each one is checked against Adobe's documentation.

Learn AEM: where to start

9 steps, in order
  1. 01

    AEM architecture

    the Java, OSGi, Sling and Oak stack; author, publish and the Dispatcher; where Edge Delivery Services sits.

  2. 02

    AEM as a Cloud Service

    how the cloud version differs from AEM 6.5, environments, the local SDK, Cloud Manager and logs.

  3. 03

    Java in AEM

    supported Java versions and the build JDK.

  4. 04

    HTL

    the template language of AEM components, including the Core Components.

  5. 05

    AEM Core Components

    Adobe's standard components, proxy components and how to customize them.

  6. 06

    AEM templates

    editable templates, policies, and how to create one.

  7. 07

    Content Fragments and Experience Fragments

    reusable content, with and without layout.

  8. 08

    AEM headless tutorial and AEM GraphQL API

    delivering content to apps.

  9. 09

    AEM Assets

    the DAM.

Tools

3 tutorials

Tutorial series

5 tutorials

Architecture and platform

8 tutorials

HTL (Sightly)

12 tutorials

HTL data-sly-test: Conditional Rendering and If/Else

How data-sly-test decides what renders in HTL: which values count as false, if/else and else-if with a stored result, scope, and order on one element.

HTL data-sly-list: Iterating Over Lists and Maps

data-sly-list in HTL: syntax, itemList index/count/first/last/odd/even, named loops, maps, empty-list handling, and the begin, end and step options.

HTL data-sly-unwrap: Removing the Host Element

data-sly-unwrap drops an element's tags and keeps its content. With an expression the wrapper becomes conditional; plus the sly element and order rules.

HTL data-sly-use: Loading Sling Models and Use Objects

Load a Sling Model, Java class or template library, pass parameters, and name the result.

What Is HTL? The HTML Template Language (Formerly Sightly)

What HTL is, why it replaced JSP in components, and the smallest working component.

HTL Display Context (@context) and Expression Options

Every @context value, what it escapes, and the defaults HTL picks for text, attributes and URLs.

HTL Operators: Logical, Ternary and Comparison

The logical, ternary, comparison and in operators, and what && and || return.

HTL Use-API: Java and the Deprecated JavaScript Use-API

How a Use class or script receives bindings and parameters, and what replaces the JavaScript Use-API.

HTL Syntax: Block Statements, Expressions and Comments

The thirteen block statements in one table, their priority on one element, and which comments reach the output.

HTL Date and Number Formatting, and URL Options

Format dates with a pattern, timezone and locale, format numbers, and rewrite URLs with selectors and queries.

HTL Global Objects

properties, pageProperties, currentPage, wcmmode and the rest, and how property access works.

HTL data-sly-repeat vs data-sly-list

Repeat copies the element itself, list repeats only its content; the output side by side.

Components and templates

4 tutorials

Content Fragments and headless

7 tutorials

Assets and Dynamic Media

8 tutorials

Operations, SEO and upgrades

12 tutorials

Robots.txt File in AEM Websites

How to serve a robots.txt from an AEM website: store it in the DAM, map it to /robots.txt with the Sling resource resolver, and allow it through the dispatcher.

Hide the /content Root Path in AEM Publish and Website URLs

How to remove /content/sitename from public AEM URLs: Sling resource resolver mappings on publish, then mod_rewrite rules and DispatcherUseProcessedURL on the dispatcher.

AEM Pattern Detector: How to Run It and Read the Report

Run the AEM Pattern Detector with curl, filter its JSON with jq, decode codes like CAV, OU, NCC and OID, and see how it feeds the Best Practices Analyzer.

Steps to Migrate a Third-Party CMS Website to AEM

The steps of a CMS-to-AEM migration project: analysis, content and asset strategy, design, content migration (manual, automated, hybrid), testing and estimation.

Generate a Report of Users' Last Login in AEM

How to report every user's last login in AEM 6.5: record it with an AuthenticationInfoPostProcessor service, then query it with an ACS AEM Commons report.

ACS AEM Commons Page Compare Utility in AEM 6.4

An AEM 6.4 page, kept as a note: install ACS AEM Commons, then diff two pages.

Why AEM Admins and Developers Need to Understand Docker

How to run AEM environments in Docker containers, and when that helps a team.

AEM Logs in AEM as a Cloud Service: Access, Loggers and Log Forwarding

The logs AEM as a Cloud Service writes, how to download or tail them, how to add a logger, and how logForwarding.yaml ships them to Splunk, Datadog or S3.

AEM Dispatcher Filter Rules: the /filter Section and Content-Disposition

Write /filter rules for the Dispatcher in the right order, and serve downloads with Content-Disposition.

Fix AEM Traversal Warnings: Find the Query, Generate an Oak Index, Deploy It

What the Oak "Traversed N nodes" warning means, how to find the slow query, generate a Lucene index, and deploy it on Cloud Service or reindex on 6.5.

AEM User Groups and Permissions with Adobe IMS

How IMS users and groups reach AEM as a Cloud Service, why permissions belong on local groups, a repoinit ACL example, closed user groups and AEM 6.5.

AEM Workflow Tutorial: Build a Content Approval Workflow

Build a content approval workflow in AEM with Participant, OR Split and custom Java process steps, then add launchers, the Inbox and Cloud Service deployment.

Certification and interviews

2 tutorials

The wider Adobe stack

4 tutorials