Edge Delivery Services how-tos · updated

How to make an Edge Delivery Services block editable in the Universal Editor

When AEM authoring is the content source, a block becomes available in the Universal Editor through three files in the project root. They are component-definition.json (the block and its template), component-models.json (the fields authors fill in) and component-filters.json (where the block may be added). Adobe recommends shipping the definition and model first, then creating content, then writing the decoration and styles.

The three files

FileHoldsExample for a quote block
component-definition.jsonTitle, id and the xwalk page templateid: quote, resourceType core/franklin/components/block/v1/block
component-models.jsonFields shown in the properties panelrichtext 'quote', text 'author'
component-filters.jsonWhich containers allow the blockAdd 'quote' to the section filter

Adobe's three-phase approach

  1. Create the definition and model, review them and bring them to production.
  2. Create content with the new block in the Universal Editor.
  3. Implement decoration (JS) and styles (CSS) against the real content.

This order means authors can start adding content while developers finish styling, and the markup developers decorate is what authors really produce. Adobe's tutorial uses the main branch for brevity but recommends feature branches and pull requests for real work.

Content modelling matters more here than in document authoring: field names and types decide the markup your decorate() receives, so agree them with authors before you write code.

component-models.json entry (from Adobe's quote example)

{
  "id": "quote",
  "fields": [
    { "component": "richtext", "name": "quote", "value": "", "label": "Quote", "valueType": "string" },
    { "component": "text", "valueType": "string", "name": "author", "label": "Author", "value": "" }
  ]
}

How to do it

  1. Add the block to component-definition.json with an xwalk template.
  2. Add its fields to component-models.json.
  3. Allow it in component-filters.json (for example in section).
  4. Commit via a pull request and deploy.
  5. Add the block to a page in the Universal Editor, then write decorate() and CSS.

Related pages on this site

Questions

Why doesn't my new block appear in the Universal Editor's add menu?

It is usually missing from component-filters.json for the container you're adding to, or the definition hasn't been deployed.

Do document-authored EDS sites need these JSON files?

No. They are for AEM authoring with the Universal Editor as the content source.

In what order should I build a UE block?

Definition and model first, then content, then decoration and styles, as Adobe recommends.

Sources

Facts about Adobe's platform are from the linked Adobe pages, checked 10 Nov 2026. Explanations and examples are ours unless marked as Adobe's.

Scan, Convert, Verify, Install

How Surge Migrate helps with a move to Edge Delivery Services

Surge Migrate moves a website from any CMS to any CMS, and Edge Delivery Services is one of the systems it writes. Pages are converted automatically, and you check the result before you install anything.

  1. 1

    Scan

    Names the system behind your site, counts pages and templates, lists the blocks to build and the work no tool does, and gives an effort range with its working.

    Scan a site →
  2. 2

    Convert

    Each page becomes an Edge Delivery document, an AEM Core Component page and import files for 7 other systems. 10 pages free; 500 or 2,000 pages in one paid run.

    Convert your pages →
  3. 3

    Verify

    A download is offered only when its own format check passes. The report lists every field not found and every component kept as plain content. Compare old and new pages side by side.

    Parity check →
  4. 4

    Install

    You import with the target system's own tool, on your own environment. Each download's README gives the command. Your system changes only when you run it.

    How each import was tested →

Import kit and one document per page, in the format of Adobe's AEM Importer. The free EDS block mapper shows which of your components map to EDS blocks. For AEM 6.5 code, the free readiness scan lists Cloud Service blockers in your browser. Nothing is uploaded.