AEM Universal Editor: How It Works, Setup and When to Use It
The AEM Universal Editor for developers: Page Editor differences, data-aue attributes, connection meta tags, component JSON, AEM 6.5 support and extensions.
Written in December 2026 and checked against Adobe's Universal Editor documentation on Experience League, the aem.live documentation and the adobe-rnd/aem-boilerplate-xwalk repository on GitHub.
On this page
- How is the Universal Editor different from the Page Editor?
- Which AEM setups does the Universal Editor work with?
- How does the Universal Editor instrument a page?
- Component definitions, models and filters
- Running it on AEM 6.5
- Reacting to edits and extending the editor
- When should you use the Universal Editor?
The AEM Universal Editor is Adobe's visual editor for content that AEM stores but doesn't necessarily render. It opens any web page, built with any framework, and lets authors edit text, images and components in place, as long as the page's HTML carries data-aue-* attributes that map each element to an AEM resource and property. Adobe hosts the editor as a service and recommends it as the default for new projects.
How is the Universal Editor different from the Page Editor?
The Page Editor edits pages that AEM renders itself through HTL and Sling, using component dialogs and the Template Editor. The Universal Editor doesn't render anything. Your application renders the page and marks it up, and the editor reads those marks and writes changes back to AEM through the Universal Editor Service.
| Page Editor | Universal Editor | |
|---|---|---|
| Who renders the page | AEM publish or author, with HTL | Your app: Edge Delivery Services, a Next.js or React app, or any server |
| Delivery it fits | Publish tier with Dispatcher | Edge Delivery and headless |
| What it edits | Pages | Pages and Content Fragments |
| Component settings | Dialogs, which can carry their own CSS and JS | A properties panel generated from a JSON model |
| Layout and styles | Responsive Grid, Style System, Template Editor | None of the three; styles are ordinary properties, such as a multiselect |
The rows come from Adobe's Page Editor and Universal Editor comparison. Existing projects should keep the Page Editor, and there's no direct migration path between the two. Adobe recommends moving a traditional site only when it's moving to Edge Delivery Services anyway, since pages built on the Responsive Grid and editable templates need significant refactoring.
The SPA Editor is the editor the Universal Editor really replaces. It has been deprecated for new projects since release 2025.1.0, and Adobe points React and other single-page apps to the Universal Editor as its replacement.
Which AEM setups does the Universal Editor work with?
On AEM as a Cloud Service it works with release 2023.8.13099 or higher, and every author needs an individual Experience Cloud account. Adobe's introduction calls Edge Delivery Services the preferred architecture, then lists headless apps with server-side or client-side rendering in any framework.
- Edge Delivery Services with AEM authoring. Content lives in AEM as a Cloud Service, and AEM renders the HTML with the Edge Delivery scripts and styles, so the instrumentation is generated for you. You start from the aem-boilerplate-xwalk template and describe your blocks in JSON. Blocks and the preview flow are explained in how Edge Delivery Services works.
- A headless app on Content Fragments. Your React or Next.js app adds the attributes itself while it renders the fragments it fetched. This is the setup from the AEM headless tutorial, with visual editing on top.
- AEM 6.5 and 6.5 LTS. Supported for headless only. Adobe requires AEM 6.5 with service pack 23 or higher (service packs 21 and 22 work with the feature pack
cq-6.5.21-universal-editor-1.0.0.zip), and on 6.5 LTS the GA release is enough. You also run the Universal Editor Service yourself, as described below.
How does the Universal Editor instrument a page?
Three things go into the page: a connection meta tag that names your AEM author, the editor's CORS library, and attributes on each editable element. The meta tag follows the pattern urn:adobe:aue:<category>:<referenceName>, where the category is system for a connection and the reference name is whatever short label you'll reuse in each resource URN.
<head>
<meta name="urn:adobe:aue:system:aemconnection"
content="aem:https://author-p12345-e67890.adobeaemcloud.com">
<script src="https://universal-editor-service.adobe.io/cors.js" async></script>
<script type="application/vnd.adobe.aue.component+json"
src="/static/component-definition.json"></script>
</head>
<body>
<main>
<section data-aue-resource="urn:aemconnection:/content/dam/my-project/en/teams/platform/jcr:content/data/master"
data-aue-type="reference"
data-aue-label="Platform team">
<h2 data-aue-prop="title" data-aue-type="text" data-aue-label="Title">Platform</h2>
<div data-aue-prop="description" data-aue-type="richtext" data-aue-label="Description">
<p>Owns the build pipeline and the CDN configuration.</p>
</div>
<ul data-aue-prop="teamMembers" data-aue-type="container" data-aue-label="Members">
<li data-aue-resource="urn:aemconnection:/content/dam/my-project/en/people/ana-ruiz/jcr:content/data/master"
data-aue-type="component"
data-aue-label="Ana Ruiz">
<span data-aue-prop="fullName" data-aue-type="text">Ana Ruiz</span>
</li>
</ul>
</section>
</main>
</body>
The resource URN is urn:, the reference name from the meta tag, and the JCR path. For a Content Fragment the path ends in /jcr:content/data/master, the master variation, which is the form Adobe's React instrumentation tutorial uses. Child elements without their own data-aue-resource inherit the nearest parent's, which is why the title and description above need only a property name.
| Attribute | What it does |
|---|---|
data-aue-resource | URN of the resource that changes are written to; required |
data-aue-prop | Property of that resource to update; on a container inside a Content Fragment, the multi-reference field |
data-aue-type | text, richtext, media, container, component or reference |
data-aue-label | Name shown for the item in the editor |
data-aue-model | Model ID for the form in the properties panel |
data-aue-filter | Filter ID: allowed components in a container, rich-text features, or allowed assets |
data-aue-behavior still shows up in older samples. It's obsolete and ignored, because an element with a resource directly inside a container is treated as a component automatically. Keep the count down, too: Adobe allows no more than 25 AEM resources referenced as instrumentation on one page.
Component definitions, models and filters
The editor learns what authors may add, and which fields they can fill, from three JSON documents:
- Component definition: the entries of the Add menu, grouped, each with an ID, a title and a plugin block that says how AEM creates it. For an AEM page that's
plugins.aem.page.resourceType, and Edge Delivery projects useplugins.xwalk.page. - Model: the fields of the properties panel. Each field has a
componentsuch astext,richtext,reference,select,multiselect,boolean,aem-tagoraem-content-fragment; Adobe's field types reference lists the rest. - Filter: an
idand thecomponentslist a container accepts, referenced fromdata-aue-filteror from a definition'sfilterproperty. Anulllist allows everything, as the filter documentation shows.
In a headless app you load each one with a script tag of its own type: application/vnd.adobe.aue.component+json, application/vnd.adobe.aue.model+json and application/vnd.adobe.aue.filter+json. In an Edge Delivery project the three files sit at the repository root as component-definition.json, component-models.json and component-filters.json. The xwalk boilerplate builds them from one small file per block with npm run build:json. Here's blocks/quote/_quote.json for a quote block with two fields:
{
"definitions": [
{
"title": "Quote",
"id": "quote",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/block/v1/block",
"template": {
"name": "Quote",
"model": "quote"
}
}
}
}
}
],
"models": [
{
"id": "quote",
"fields": [
{
"component": "richtext",
"name": "quote",
"label": "Quote",
"valueType": "string",
"value": ""
},
{
"component": "text",
"name": "source",
"label": "Source",
"valueType": "string",
"value": ""
}
]
}
],
"filters": []
}
The block won't appear in the Add menu until its ID is in a container's filter. In the boilerplate that's the section filter in models/_section.json; add "quote" to its components array and run the build again. core/franklin/components/block/v1/block is the generic block type that both the boilerplate and the Universal Editor blocks guide use.
Running it on AEM 6.5
On AEM as a Cloud Service, Adobe runs the Universal Editor Service. On 6.5 you download it from Software Distribution and run it with Node.js 20 or later, next to the Dispatcher. The 6.5 LTS setup changes four OSGi configurations on author:
| Configuration | Property | Change |
|---|---|---|
| Adobe Granite Token Authentication Handler | token.samesite.cookie.attr | Set to Partitioned |
| Apache Sling Main Servlet | sling.additional.response.headers | Remove X-Frame-Options=SAMEORIGIN if present |
| Adobe Granite Query Parameter Authentication Handler | path | Add / |
| Universal Editor URL Service | Opening mapping and resource types | Map the paths and sling:resourceType values that should open in the Universal Editor |
The author virtual host then proxies the service, which listens on port 8080 unless you set UES_PORT:
ProxyPass "/universal-editor" "http://localhost:8080"
ProxyPassReverse "/universal-editor" "http://localhost:8080"
The app needs two changes as well. Its connection meta tag uses aem65: where Cloud Service uses aem:, and a second meta tag points the editor at your own service:
<meta name="urn:adobe:aue:system:aemconnection" content="aem65:https://author.example.com">
<meta name="urn:adobe:aue:config:service" content="https://author.example.com/universal-editor">
Component definitions on 6.5 also use aem65 in place of aem under plugins.
Reacting to edits and extending the editor
When an author changes something, the editor dispatches an event on the edited element, and it bubbles up to body. Unhandled events get a default behavior from the CORS library: a page reload for aue:content-add and aue:content-patch, an innerHTML swap for aue:content-update. A reload loses client state in a single-page app, so handle the cheap cases yourself and stop the event, the way the xwalk boilerplate's editor-support.js does:
const main = document.querySelector('main');
main.addEventListener('aue:content-patch', (event) => {
event.stopPropagation();
const { patch } = event.detail;
const field = event.target.querySelector(`[data-aue-prop="${patch.name}"]`);
if (field && field.dataset.aueType === 'text') {
field.textContent = patch.value;
} else {
window.location.reload();
}
});
The editor's own interface is extended with App Builder. With Universal Editor UI extensions you can add buttons and actions to the header menu and the properties panel, and switch them on per instance in Extension Manager. Adobe ships several there, including the Configurable Asset Picker and Content Fragment Workflows.
When should you use the Universal Editor?
- New Edge Delivery site whose authors work in AEM: use it. It's the editor Adobe documents for AEM-authored Edge Delivery content.
- React, Next.js or another app reading Content Fragments, with authors who want to see the page: use it in place of the SPA Editor.
- Existing site on Core Components, editable templates and the Responsive Grid: stay on the Page Editor.
- AEM 6.5: headless front ends only; a 6.5 site that AEM renders with HTL can't use it.
- Authors who write in documents and never open AEM: skip it and use Experience Workspace, the browser editor for Edge Delivery documents at da.live that was called Document Authoring until its rename.
More in Architecture and platform
- AEM 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.