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- 01
AEM architecture
the Java, OSGi, Sling and Oak stack; author, publish and the Dispatcher; where Edge Delivery Services sits.
- 02
AEM as a Cloud Service
how the cloud version differs from AEM 6.5, environments, the local SDK, Cloud Manager and logs.
- 03
Java in AEM
supported Java versions and the build JDK.
- 04
HTL
the template language of AEM components, including the Core Components.
- 05
AEM Core Components
Adobe's standard components, proxy components and how to customize them.
- 06
AEM templates
editable templates, policies, and how to create one.
- 07
Content Fragments and Experience Fragments
reusable content, with and without layout.
- 08
AEM headless tutorial and AEM GraphQL API
delivering content to apps.
- 09
AEM Assets
the DAM.
Tools
3 tutorialsOak Index Definition Generator
Paste an XPath, JCR-SQL2 or QueryBuilder query and get the Lucene index for it, as diff.json for Cloud Service or .content.xml for 6.5.
Dispatcher Filter Tester
Paste /filter rules and a list of URLs to see which requests get through, which rule decides, and how each URL is split.
AEM Cron Expression Generator
Build or check a Quartz expression for a Sling scheduled task, with the next run times and the code to register it.
Tutorial series
5 tutorialsAEM as a Cloud Service Tutorial
HTL in AEM: The HTML Template Language (Sightly) Tutorial
HTL expression syntax, display contexts, every block statement and their priority, examples, and the full HTL reference.
AEM Tutorial Series: Learn AEM Step by Step
The older video series, recorded on AEM 6.4 and kept as a note: what AEM is, installation, architecture, environments, consoles, authoring, packages, components, templates, assets and workflows.
AEM 6.4 and 6.5 Tutorials
The older series, for 6.x projects.
Useful AEM Consoles in AEM 6.4 (with URLs)
Kept as an AEM 6.4 note: the console URLs.
Architecture and platform
8 tutorialsAEM Architecture: How Adobe Experience Manager Is Built
The stack, the AEM 6.5 topology, the AEM as a Cloud Service architecture and Edge Delivery Services, with diagrams.
Java in AEM: Supported Versions and How to Set the JDK
FAQ on AEM as a Cloud Service
Environments, programs, replication, run modes, the local SDK, roles and mutable vs immutable content.
Storage Concepts in AEM 6.5: Node Stores and Data Stores
How AEM 6.5 stores content and binaries: segment and document node stores (TarMK, MongoMK), file, S3 and Azure data stores, and their OSGi configuration PIDs.
Sling Dynamic Include vs Edge Side Includes (ESI) in AEM as a Cloud Service
How Sling Dynamic Include works in AEM, its OSGi config and SSI, ESI and JSI modes, ESI on Adobe's managed CDN, the Dispatcher setup, and which to use when.
AEM JCR: Nodes, Node Types and Reading Properties in Java
What sits under /apps, /content and /conf, and how to read a property from Java or HTL.
AEM Edge Delivery Services
Pages built from documents and blocks, served from the edge, and when to pick it over AEM Sites.
AEM Universal Editor
In-context editing for Edge Delivery, headless apps and AEM pages, and how a page is instrumented for it.
HTL (Sightly)
12 tutorialsHTL 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 tutorialsAEM Core Components: The Full List and How to Use Them
The Core Components list and how to proxy and customize them on Cloud Service and 6.5.
AEM Templates: Editable vs Static Templates and How to Create One
Pick editable or static, then build a template with structure, initial content and policies.
Modern AEM Component Implementation Patterns
The component patterns behind AEM Core Components: configurable components, separation of concerns, pre-configurable capabilities, proxy components, versioning and model interfaces.
Sling Models in AEM
Injectors, the Model Exporter, unit tests with AEM Mocks, and why WCMUsePojo is legacy.
Content Fragments and headless
7 tutorialsContent Fragments in AEM: Models, Editor, Variations and Delivery
Experience Fragments in AEM, and How They Differ from Content Fragments
Templates, variations, building blocks, MSM, the Experience Fragment component, plain HTML and Adobe Target export.
AEM Headless Tutorial: From Content Fragments to a React App
From an empty configuration to a React client reading persisted queries.
AEM GraphQL API: Endpoints, Persisted Queries and Examples
The schema from Content Fragment Models, endpoints, GraphiQL, filtering and paging, persisted queries, caching and CORS.
AEM 6.4 Content Fragment Output as JSON
Kept as an AEM 6.4 note: the JSON exporter.
Create a Content Services Endpoint in AEM 6.4
An AEM 6.4 page, kept as a note: the Content Services endpoint that exported fragment variations as JSON before the GraphQL API.
AEM Content Fragment Output as JSON
How to view an AEM Content Fragment as JSON, the infinity.json output and the Content Services (caas.json) output, and how to walk its children.
Assets and Dynamic Media
8 tutorialsAEM Assets: How Adobe's DAM Works in AEM as a Cloud Service
Which edition, view and API to use for a given asset job.
Assets Essentials vs AEM Assets as a Cloud Service
Which of the two editions fits which team.
AEM 6.5 New Features in Assets
What AEM 6.5 added to Assets: Adobe Asset Link, the desktop app update, Adobe Stock integration, remote DAM, Brand Portal, visual search and Dynamic Media with Sensei.
AEM Content Hub vs Brand Portal vs Asset Share Commons
Content Hub, Brand Portal and Asset Share Commons compared for sharing AEM Assets: versions, permissions, share links, uploads, and where Dynamic Media fits.
AEM Brand Portal: Integration, Publishing and Asset Sourcing
How AEM Assets Brand Portal works: IMS and cloud service setup on Cloud Service and 6.5, publishing folders and collections, Asset Sourcing and user roles.
Media Handlers with AEM Workflows to Process Assets
Metadata and thumbnails from workflow steps.
Machine Learning Features in AEM
Smart tags, smart crop and smart swatch.
AEM Asset Size Limits: Max Upload, Video and File Type Limits
Upload and processing limits for video, images and documents on Cloud Service and 6.5, with Adobe sources.
Operations, SEO and upgrades
12 tutorialsRobots.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 tutorialsThe wider Adobe stack
4 tutorialsAEM ContextHub: Setup, Segments and Personalization
Add ContextHub to an AEM page component, configure stores and UI modules, build segments, target components in Targeting mode, and where Adobe Target fits.
What Is AEP? Adobe Experience Platform FAQ
What Adobe Experience Platform is, how it's built, and which of its application services connect to AEM.
Understanding Adobe Workfront and Its Use with AEM
What Adobe Workfront is, its capabilities, its AEM Assets integration, licenses and access levels, SSO, third-party integrations, the API and Workfront Fusion.
Adobe InDesign vs FrameMaker vs AEM Guides (XML Documentation)
InDesign, FrameMaker and AEM Guides compared on authoring, formats, scale, review and AEM integration.