Useful Documentation

Experience Manager as a Cloud Service documentation provides valuable insights into developing in AEM. Below are some specific technical topics and references that you may find useful while implementing an AEM connector:

  • Adobe Consulting Services (ACS) AEM Samples for well-commented code to help educate AEM developers
  • The various documentation links in the Common Integration Patterns section of this article

Community Resources

In addition to the static documentation above, Adobe and the AEM community offer resources to help bring a connector to market:

  • The Adobe Community’s AEM Forum is an active site where your peers ask and respond to questions
  • Additional Adobe technical resources are available to certain partner levels. Learn more about the Adobe Exchange Program.
  • If your organization would like implementation help, consider Adobe’s Professional Services team or see the Solution Partner Finder for a list of Adobe’s partners across the globe

Package structure rules

To facilitate rolling deployments, AEM as a Cloud Service packages—such as connectors—maintain a strict division between “immutable” and “mutable” content. Packages should be clearly organized to include:

  • /apps
  • /content and /conf

Connectors should adhere to these packaging guidelines, which are described under AEM Project Structure. Existing connectors should be refactored to conform, as well.

In addition, only Adobe should write code into /libs, with customers and partners writing into /apps.

Existing connectors may also need to be refactored to move any configuration that might once have been placed /etc into other top level folders such as /conf. This restructuring was done as part of AEM 6.5 and is described in the AEM 6.5 documentation.

Adobe recommends placing most of the connector code under /apps/connectors/<vendor> to maintain a clean repository structure, especially for customers using multiple connectors.

Cloud Services Configurations

One aspect of the connector implementation is the code backing the configuration of the connector. This code causes a card with the connector’s name to appear under Tools > Operations > Cloud Services. When clicked, a configuration browser pops up where the customer selects the parent folder to contain the connector configuration. The connector’s code should result in a form with all the properties that must be configured, ultimately storing the values in a configuration folder under /conf. This folder can later be selected under the Sites properties tab or the Assets properties tab.

Context-Aware Configurations

Context-Aware Configurations let you layer configuration across different folders, including /libs, /apps, /conf and subfolders under /conf. It supports inheritance so a customer can configure global configuration while making specific changes for each microsite. Because it is possible to use this feature for Cloud Services Configurations, connector code should reference configuration using the Context-Aware Configuration API instead of referencing a specific configuration node.

If modified configurations are used in the Connector, architect the Connector to handle including/merging any future updates to Connector-provided default configurations with any customer configurations. Keep in mind that modifying customer-customized content or configurations without prior notice and consent can disrupt or cause unexpected behavior in their Connector.

Coding Best Practices

Because AEM as a Cloud Service is a Cloud-native solution, there are some guidelines that may impact a connector’s code strategies. See AEM as a Cloud Service Development Guidelines for more details.

Testing the AEM Connector

New connectors should be created (or existing connectors modified) using local environment development techniques. The Partner Team provides ISV partners with a sandbox environment where they can deploy their AEM Connector to a vanilla application to ensure that it works.

Experience Manager


The Perfect Blend: A New Era of Collaboration with AEM and Workfront

Adobe Customer Success Webinars

Wednesday, Apr 2, 5:00 PM UTC

Explore how Adobe Experience Manager and Workfront integrate to help teams move from ideation to delivery without the usual bottlenecks, ensuring content is organized, on-brand, and ready to go live faster.

Register

Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more