Skip to content

Universal Editor for developers (deprecated)

New storefronts don’t include Universal Editor (UE) instrumentation by default. This reference is for existing projects that instrument content and Commerce blocks for UE. For setup, instrumentation syntax, and the custom block workflow, see the DA.live documentation below.

Commerce differs from the standard DA.live approach (centralized ue/models/blocks/ in da-block-collection ): UE instrumentation JSON files live next to each block at blocks/{block-name}/_{block-name}.json. A pre-commit hook composes these into the root-level component-*.json files the UE consumes.

aem-boilerplate-commerce/
β”œβ”€β”€ component-definition.json ← generated (UE consumes)
β”œβ”€β”€ component-filters.json ← generated (UE consumes)
β”œβ”€β”€ component-models.json ← generated (UE consumes)
β”œβ”€β”€ models/
β”‚ └── _section.json ← add new blocks to component list
└── blocks/
β”œβ”€β”€ accordion/
β”‚ └── _accordion.json ← UE instrumentation
β”œβ”€β”€ hero/
β”‚ └── _hero.json
β”œβ”€β”€ product-recommendations/
β”‚ └── _product-recommendations.json
β”œβ”€β”€ commerce-cart/
β”‚ └── _commerce-cart.json
└── ... ← and other blocks with _*.json