Microservice-based HTML5 publishing isn’t available in the local AEM SDK

This article outlines the support for microservice-based HTML5 publishing in local AEM as a Cloud Service SDK environments and provides steps to configure local publishing workflows with AEM Guides.

Description description

Environment

  • Adobe Experience Manager Guides
  • AEM as a Cloud Service SDK
  • AEM as a Cloud Service Development, Stage, and Production environments
  • DITA-OT publishing

Issue/Symptoms

  • You can’t use microservice-based HTML5 publishing from a local AEM as a Cloud Service SDK instance.
  • You need to determine how to configure local HTML5 publishing.
  • You need to confirm that the AEM Guides version is compatible with the AEM SDK version.
  • You need to verify that the publishing temporary directory is available.
  • You need to determine where to test microservice-based HTML5 and PDF publishing.

Cause

The Adobe-hosted publishing microservice is available in AEM as a Cloud Service environments and isn’t accessible from the local AEM SDK. The local SDK is intended for development and testing through the local publishing workflow rather than the cloud publishing microservice.

Resolution resolution

Follow the steps below to resolve the issue:

  1. In the local AEM as a Cloud Service SDK environment, disable microservice publishing by setting dxml.use.publish.microservice=false.
  2. Ensure that the AEM Guides version is compatible with the AEM SDK version. Review the AEM Guides release notes for compatibility details.
  3. Confirm that the publishing temporary directory required by AEM Guides was created during installation. If the directory isn’t present, create it manually.
  4. Use the local DITA-OT publishing workflow for development by disabling the microservice configuration as described above.
  5. To test or validate microservice-based HTML5 and PDF publishing workflows, use an AEM as a Cloud Service Development, Stage, or Production environment with the required authentication configuration.
  6. After making the changes, verify that local publishing generates the expected HTML5 output.
recommendation-more-help
experience-cloud-kcs-help-kbarticles