接続の確立
コネクタ内で利用可能なオブジェクトは、"cdata.adobeexperiencemanager" モジュールからアクセスできます。モジュールのオブジェクトを直接使用するには:
- モジュールを以下のようにインポートします。
import cdata.adobeexperiencemanager as mod
- 接続を確立するには、以下のような適切な接続文字列を使用してコネクタオブジェクトからconnect() メソッドを呼び出します。
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.