Establishing a Connection
The objects available within our connector are accessible from the "cdata.adobeexperiencemanager" module. To use the module's objects directly:
- Import the module as follows:
import cdata.adobeexperiencemanager as mod
- To establish a connection string, call the connect() method from the connector object using an appropriate connection string, such as:
mod.connect("URL=http://localhost:4502/crx/server;User=admin;Password=admin;")
Connecting to Adobe Experience Manager JCR Repository
This connection allows you to access content stored in an Adobe Experience Manager (AEM) JCR repository using WebDAV. The JCR (Java Content Repository) is the underlying storage system used by AEM to manage content nodes, properties, and metadata. You can connect to both local AEM instances and cloud-based AEM environments.
- Set the URL to the WebDAV-enabled JCR server.
- Local development: http://localhost:4502/crx/server
- AEM as a Cloud Service: https://XXXX-pXXXX-eXXXX.adobeaemcloud.com/crx/server
- Depending on the AuthScheme used:
Once the connection is configured, you can query JCR nodes and properties exposed through the WebDAV endpoint using standard SQL queries. Ensure that the configured user has sufficient permissions to access the required content paths in the AEM repository.