About Site API Generic Edit

Generic Edit Mode for Headless AEM projects based on AEM Sites.

Maven Central



When building an AEM Headless projects based on AEM pages and components and JSON-Generation via Sling Models Exporter (and not using Content Fragments), there is no built-in edit view for your components. If you are not using the SPA Editor, you have to provide your own HTL representation of each component to allow the editors to build the content. wcm.io Site API Generic Edit helps here to automatically generate a generic “edit view” of a component, based on the Sling Models properties attached with the component. So you only have to build the Sling Model, and the AEM component edit dialog, the HTL view is generated automatically.

Example view:

This generic edit view works well together with the other modules from wcm.io Site API, but can also be used standalone.

If you are using wcm.io Handler in your project, consider adding the Site API Generic Edit Handler Extensions.

AEM Version Support Matrix

Site API Generic Edit version AEM Sites Core Component version AEM version supported
1.0.0 or higher 2.23.2 and up AEM 6.5.17+, AEMaaCS


To use this module you have to deploy also:

wcm.io Sling Commons Maven Central

GitHub Repository

Sources: https://github.com/wcm-io/io.wcm.site-api.generic-edit

Back to top

Version: 1.0.3-SNAPSHOT. Last Published: 2023-09-13.