Manage Adobe Experience Manager Data in DBArtisan as a JDBC Source
The CData JDBC Driver for Adobe Experience Manager seamlessly integrates Adobe Experience Manager data into database management tools like DBArtisan by enabling you to access Adobe Experience Manager data as a database. This article shows how to create a JDBC source for Adobe Experience Manager in DBArtisan. You can then edit data visually and execute standard SQL.
Integrate Adobe Experience Manager Data into DBArtisan Projects
Follow the steps below to register Adobe Experience Manager data as a database instance in your project:
- In DBArtisan, click Data Source -> Register Datasource.
- Select Generic JDBC.
- Click Manage.
- In the resulting dialog, click New. Enter a name for the driver and click Add. In the resulting dialog, navigate to the driver JAR. The driver JAR is located in the lib subfolder of the installation directory.
-
In the Connection URL box, enter credentials and other required connection properties in the JDBC URL.
The driver connects to Adobe Experience Manager (AEM) instances that expose the JCR repository over WebDAV. It supports both on-premises AEM and AEM as a Cloud Service deployments.
To establish a connection, set the following properties:
- URL: The WebDAV-enabled JCR server URL.
- AEM as a Cloud Service: https://author-pXXXXX-eXXXXX.adobeaemcloud.com/crx/server
- Local development: http://localhost:4502/crx/server
- User: Your AEM username.
- Password: Your AEM password.
Note: Tables are dynamically generated based on the JCR repository structure. Ensure that the configured user has sufficient permissions to access the required content paths in the AEM repository.
Built-in Connection String Designer
For assistance in constructing the JDBC URL, use the connection string designer built into the Adobe Experience Manager JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.adobeexperiencemanager.jar
Fill in the connection properties and copy the connection string to the clipboard.
Below is a typical connection string:
jdbc:adobeexperiencemanager:URL=https://author-p12345-e67890.adobeaemcloud.com/crx/server;User=admin;Password=admin;
- URL: The WebDAV-enabled JCR server URL.
- Finish the wizard to connect to Adobe Experience Manager data. Adobe Experience Manager entities are displayed in the Datasource Explorer.
You can now work with Adobe Experience Manager data as you work with any other database. See the driver help documentation for more information on the queries supported by the Adobe Experience Manager API.