Edge Delivery Services · 23 of 29
A practical EDS-focused chapter distilled from a Universal Editor routing guide. Covers what is useful for Universal Editor projects, how to replace Touch UI editing, local development setup, instrumentation, and the parts you should ignore if you are working on pure Document Authoring EDS.
This chapter covers:
This chapter is not about replacing every EDS pattern with Universal Editor patterns. It is about identifying the pieces that are actually useful when your EDS work touches AEM Cloud Service and xwalk-style authoring.
If your project is pure Document Authoring, most of this chapter is optional. If your project uses AEM content, Universal Editor, or a hybrid delivery model, this chapter becomes practical immediately.
The source guide describes a real AEM Cloud Service setup where Edit in Sites opens Universal Editor instead of Touch UI. That is valuable because it solves a real problem for teams that still rely on classic AEM authoring entry points but want a modern editing experience.
For EDS work, the useful idea is not "migrate Touch UI for the sake of migration." The useful idea is:
Use Universal Editor when authors need inline editing, page context, and AEM-backed persistence.
That makes it relevant in three cases:
These are the parts worth keeping for EDS and xwalk work:
/editor.html.data-aue-* attributes to connect rendered HTML to authored fields.These are the parts that are mostly implementation details, not strategy:
If your site is authored through Document Authoring and delivered as standard EDS blocks, you do not need most of the AEM Cloud Universal Editor plumbing.
You can ignore:
You still may want to borrow one idea from the guide:
The practical translation for EDS is simple.
If you are using Universal Editor in an EDS-connected project, the page must expose enough structure for the editor to understand what is editable.
That means:
If any one of those is missing, the authoring experience becomes unreliable.
Use this checklist when you need Universal Editor support in an EDS-related project.
Use Universal Editor when:
Do not force Universal Editor into a project just because it sounds modern. Use the simplest authoring model that fits the content workflow.
Your rendered HTML needs to tell UE what the element is and where it belongs.
Typical pattern:
<div data-aue-resource="urn:aem:/content/site/en/page/jcr:content/root/component"
data-aue-type="component"
data-aue-model="teaser"
data-aue-label="Teaser">
<h1 data-aue-prop="title"
data-aue-type="richtext"
data-aue-label="Title">
Welcome
</h1>
</div>
The important point is not the syntax itself. It is the mapping:
data-aue-resource points to the content node.data-aue-model points to the model definition.data-aue-prop points to the editable field.data-aue-type tells UE how to edit the value.The properties panel only works when the model and the annotations describe the same fields.
Example:
[
{
"id": "teaser",
"fields": [
{ "component": "text", "name": "title", "label": "Title", "valueType": "string" },
{ "component": "richtext", "name": "description", "label": "Description", "valueType": "string" }
]
}
]
If the DOM says data-aue-prop="title" but the model calls the field headline, authors will get a broken editing experience.
UE local development usually needs three pieces to work together:
If any of those are missing, your editor session will fail in ways that look like auth, CORS, or iframe problems.
For local AEM development, the editor service often needs explicit credentials.
The main thing to remember is this:
/details, /configuration, or /patch fail with 401, the auth header layer is usually the problem.If you are implementing UE in an EDS-style project, follow this order:
data-aue-* annotations.Do not start by instrumenting everything. Start with one page, one component, and one editable field.
These are the failures worth watching for.
Usually means one of these is wrong:
Usually means:
data-aue-model value does not match the model JSON.data-aue-prop name does not match the field name.Usually means:
Usually means one field is correctly modeled and the other is only partially annotated.
If you want this chapter to support the rest of the EDS series, the next additions are:
That makes this chapter a bridge between the conceptual DA vs UE discussion and the practical implementation chapters.
Use Universal Editor when the project needs AEM-backed in-context editing. Use Document Authoring when the project needs simpler, document-style content management.
That is the cleanest rule for EDS work:
Choose the authoring system that matches the content workflow, not the one that looks more advanced.
When you keep that rule in mind, you avoid a lot of unnecessary complexity.
The next chapter, EDS Migration Mental Model, zooms out from routing details to the question that should come before any migration: what authoring and delivery model the content actually needs, rather than how to port AEM one-to-one.
Get an email when I publish the next chapter. No spam — just new technical deep-dives.
Comments
Share feedback or questions about this blog post.
No comments yet. Be the first to share your thoughts.