Skip to content

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
  1. How is the Universal Editor different from the Page Editor?
  2. Which AEM setups does the Universal Editor work with?
  3. How does the Universal Editor instrument a page?
  4. Component definitions, models and filters
  5. Running it on AEM 6.5
  6. Reacting to edits and extending the editor
  7. 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 EditorUniversal Editor
Who renders the pageAEM publish or author, with HTLYour app: Edge Delivery Services, a Next.js or React app, or any server
Delivery it fitsPublish tier with DispatcherEdge Delivery and headless
What it editsPagesPages and Content Fragments
Component settingsDialogs, which can carry their own CSS and JSA properties panel generated from a JSON model
Layout and stylesResponsive Grid, Style System, Template EditorNone 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.

AttributeWhat it does
data-aue-resourceURN of the resource that changes are written to; required
data-aue-propProperty of that resource to update; on a container inside a Content Fragment, the multi-reference field
data-aue-typetext, richtext, media, container, component or reference
data-aue-labelName shown for the item in the editor
data-aue-modelModel ID for the form in the properties panel
data-aue-filterFilter 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 use plugins.xwalk.page.
  • Model: the fields of the properties panel. Each field has a component such as text, richtext, reference, select, multiselect, boolean, aem-tag or aem-content-fragment; Adobe's field types reference lists the rest.
  • Filter: an id and the components list a container accepts, referenced from data-aue-filter or from a definition's filter property. A null list 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:

ConfigurationPropertyChange
Adobe Granite Token Authentication Handlertoken.samesite.cookie.attrSet to Partitioned
Apache Sling Main Servletsling.additional.response.headersRemove X-Frame-Options=SAMEORIGIN if present
Adobe Granite Query Parameter Authentication HandlerpathAdd /
Universal Editor URL ServiceOpening mapping and resource typesMap 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