Hello @SantoshBh2 ,
Here is the official guidance for using Adobe Experience Manager (AEM) with the Universal Editor and Edge Delivery Services:
When you author and persist content in AEM as a Cloud Service using the Universal Editor, you can fully leverage AEM’s capabilities (multi-site management, localization workflows, launches, etc.) while still delivering pages with high performance via Edge Delivery Services.
Authoring Workflow
When using AEM as a Cloud Service for content management, AEM, the Universal Editor, and Edge Delivery Services work together to provide a seamless authoring experience:
-
The AEM Sites console is used for core content management activities, such as creating pages, Experience Fragments, Content Fragments, and more. All AEM features remain available, including workflows, MSM, translation, and Launches.
-
The Universal Editor is used to author the content stored in AEM. It provides a modern UI for content editing.
-
AEM renders the HTML but loads scripts, styles, icons, and other resources from Edge Delivery Services.
-
All changes are persisted in AEM as a Cloud Service.
-
Content authored via the Universal Editor and stored in AEM is published to Edge Delivery Services.
-
AEM renders semantic HTML suitable for ingestion by Edge Delivery Services, which then publishes and delivers the pages, helping you achieve excellent Core Web Vitals.
Page Structure
When authoring using AEM and the Universal Editor, the same concepts used in document-based authoring with Edge Delivery Services apply:
-
Blocks are the fundamental building units of pages delivered by Edge Delivery Services.
-
Authors can use default blocks provided by Adobe or custom blocks created by developers for the project.
Reference:
https://www.aem.live/docs/aem-authoring
GitHub URL – Use the GitHub project URL that you created in the previous step. After creating the site, AEM confirms it via a dialog. Click OK to dismiss it.
In the Sites console, navigate to theindex.htmlof the newly created site and click Edit in the toolbar. The Universal Editor opens in a new tab. You may need to click Sign in with Adobe to authenticate before editing your page.
You can now edit your site using the Universal Editor.
Publishing Your New Site to Edge Delivery Services
Once you’ve finished editing:
-
In the Sites console, select all the pages for your new site.
-
Click Quick publish in the toolbar.
-
Confirm by clicking Publish in the dialog.
Then, in a new browser tab, go to:
https://main--<repository-name>--<owner>.aem.page
You should see your content published and delivered via Edge Delivery Services.
Reference:
https://www.aem.live/developer/ue-tutorial
Creating Blocks Instrumented for the Universal Editor
You can create blocks for use with the Universal Editor when AEM is your content source. This involves:
Adding components
Loading component definitions in the Universal Editor
Publishing pages
Implementing block decoration and styles
Deploying changes to production
Verifying the implementation
Prerequisites
To work with Universal Editor–ready blocks, you should:
-
Have prior experience with AEM authoring for Edge Delivery Services projects and the Universal Editor.
-
Have access to Edge Delivery Services and understand its basics, including:
-
Access to an AEM as a Cloud Service sandbox
-
Completion of the Getting Started – Universal Editor Developer Tutorial
-
Adding a New Block to Your Project
As an example, you can create a block to render a quote on your page. For simplicity, all changes in the example are made on the main branch. In real projects, you should:
-
Work on a separate feature branch
-
Use pull requests for review before merging to
main
Adobe recommends a three-phase approach for block development:
-
Create the block definition and model, review, and promote to production.
-
Author content using the new block.
-
Implement decoration and styles for the block.
The quote block example in the documentation follows this pattern.
Reference:
https://www.aem.live/developer/universal-editor-blocks