Getting Started with the Experience Modernization Agent for Experience Manager Authoring Projects getting-started-aem-authoring
Use this guide to get started when a requirement depends on content staying in the JCR. The Universal Editor is Adobe’s visual editor for content in Experience Manager. This is not a migration to HTL-based delivery, and the source website’s technology doesn’t determine where your content is stored.
Auto mode produces document-based content, so it doesn’t apply to this setup.
Prerequisites prerequisites
You will need the following access:
- Console access
- Repository permissions
- Permission to create or update content and assets on the target author instance
You will need the following information:
- The author instance’s host
- Site identifier
- Page root
- DAM destination (the Experience Manager Assets folder for images and files)
- Code repository and working branch
Create Your Edge Delivery Services Project Repo create-repo
For a new project:
- Use the
aem-block-collection-xwalkrepository as your template rather than the document-based boilerplate. Templates for Experience Manager authoring havexwalkin their names. - Verify that
fstab.yaml, the file that points Edge Delivery Services to the site’s content source, refers to your author instance’s host, Git owner, and Git repository. Review and commit the configuration to the branch used for setup.- See Configure content source for instructions.
- Follow the Universal Editor tutorial to set up your repo.
- Stop when you are asked to create a site in Experience Manager.
- For this new project setup, remove the template’s
paths.jsonand commit the change.- Do not remove an existing site’s path mappings without reviewing their purpose and replacement.
- Add the AEM Code Connector app to your repo, so that the console can push changes. For how it differs from AEM Code Sync, see Start from a Repository.
For an existing project that stores its content in the JCR, reuse its configuration and content models. Do not recreate the site or replace its repository with the template. Confirm code synchronization and repository access without repeating the document-based setup.
Create a New Site in Experience Manager create-site
-
In the Sites console, select Create > Site from template.
-
Select the AEM Site with Edge Delivery Services Template.
- Don’t see it listed? Install the template.
-
For this template setup, keep the name of the site (not the title) as provided.
- The site name is used as the unique identifier.
- The title can be changed for display.
-
Select Create.
- You are redirected to the Sites page.
- Refresh the page if the new site does not appear immediately.
Skip site creation if the target site already exists. Confirm its identifier and destinations instead. Do not rename a live site to fit an example.
Connect the Site and Import a Page continue
The console steps are the same as in the main guide. Only the import request and the checks differ.
-
Ask the agent to import one page, and say that the content is stored in the JCR. Replace the example URL:
- “Migrate only
https://www.example.com/aboutto the agreed page root in this Experience Manager authoring project. Preserve content and links. Reuse the project’s block models and validate JCR conversion. Do not upload, push, or publish.”
- “Migrate only
-
Validate the content, upload it as a content package, and check that authors can edit and preview it.
-
Request styling, as in the styling steps of Import a Page Step by Step, and push the code.
Validate Content validate-content
Validate the selected page in the content panel. Use Markdown view, JCR XML view, and Errors to check content and conversion. Use Add to chat to aim a fix at a page or at one of the import scripts that the agent generates.
In Experience Manager authoring projects, each block also has a model: a configuration that defines the fields authors edit for that block in the Universal Editor. The Universal Editor edits only the fields that a block’s model defines, so a page can render correctly in the HTML preview while blocks that don’t match their models can’t be edited. Ask the agent to check that the source block models, component definitions, and generated aggregate configuration agree. Update the source configuration through the project’s generation workflow rather than fixing only a generated file. Check field mappings and authoring hints, page paths, image references, and the intended site/DAM destinations.
Resolve conversion errors on one sample page before creating a larger package.
Upload Content upload-content
Package upload writes content to the author instance. Confirm the selected pages, host, site, page root, and asset destination with the target owner. Preserve existing content before replacing it. Local validation does not make an overwrite safe.
The upload uses your Adobe sign-in, so the author instance applies your own permissions to the pages and assets. See Content Push Permissions.
-
Make sure you are in a Content view and select the Upload content button on the top-right.
-
In the Create content package dialog, choose the pages to include in the package.
- Optionally enter a Package name (defaults to the site name if left empty).
- Use Select all, Clear selection, Expand all, or Collapse all to manage the list.
-
Select Create package.
-
After the package is created, the Upload content package dialog shows that the package is ready.
- You can Download package to save it locally, or proceed to upload.
- Under Upload to AEM, confirm the AEM site and AEM host (pre-filled from your project settings).
- Optionally leave Upload images checked to include images.
- Select Upload to AEM.
-
The dialog shows upload progress as pages and assets are sent to the author instance. Review the upload log, including individual failures, before closing the dialog.
For a failed package or image upload, retain the log and selected paths. Correct conversion, credentials, permissions, or destinations as indicated, then retry the affected scope. A package download alone does not import content into the author instance. Confirm which pages and assets arrived before retrying to avoid unintended replacements.
If Create package reports Missing site configuration, the console doesn’t know the project’s site path, /content/{site-name}, and DAM folder, /content/dam/{folder-name}. It finds them by looking up the site on the author instance that the project’s content source points to, as set in fstab.yaml or in the site’s configuration. Check that the site exists on that author instance and that the Adobe account you signed in with can access it, then reload the console. If the message persists, request support. If it reports Missing site base URL, enter the origin URL of the source site, such as https://www.example.com, as Site base url in Settings.
If the Experience Manager as a Cloud Service environment is hibernated, the upload dialog and Settings makes this clear and link to the Developer Console. De-hibernate the environment in the Developer Console and then retry the upload. See De-hibernate a sandbox program from the Developer Console.
Review and push the matching code and configuration through your project’s repository policy. This is separate from the package upload; see How Changes Go Live.
Validate Authoring and Preview preview-site
- In the Sites console, locate the imported page under the agreed site root.
- Open it in the Universal Editor. Verify that expected fields and blocks can be selected and edited, not merely rendered.
- Change some text and an image, save, and reopen the page. Confirm that the content and asset references persist.
- Use the project’s configured preview workflow (preview pages are served on
*.aem.page). Verify the page against the intended code branch and check responsive layout, links, and images. - For production, complete the checks before release, then publish the pages from the Universal Editor or the Sites console. See Publishing Content with the Universal Editor.
Successful package upload, authoring, preview, and publication are distinct checkpoints. If editing fails, revisit model mappings and generated configuration. Do not accept a static preview as completion.
Record the uploaded package, paths, code revision, author/preview URLs, remaining errors, and recovery owner in the handover. Code rollback does not restore JCR pages or DAM assets. Recover those separately using the target environment’s approved process.
Additional Resources additional-resources
- Getting Started with the Experience Modernization Agent - Full workflow including console, prompting, upload, and preview
- Experience Modernization Console - Console reference
- Universal Editor tutorial - Set up a project with Experience Manager authoring and the Universal Editor
aem-block-collection-xwalk- Template repository for these projects