Skip to content

Configuring DAM Indexing

This page contains instructions on how to add configurations of the OpenSearch middleware and enable Digital Asset Management (DAM) Indexing.

Prerequisite

OpenSearch must be enabled.

Adding OpenSearch middleware configurations and enabling DAM Indexing

Go to the values.yaml file and refer to the following sample Helm values to configure OpenSearch middleware and enable DAM Indexing:

configuration:
    searchMiddleware:
        # Enable/Disable Search Middleware
        enabled: true
        # Host of Search Middleware
        host: your-domain.com
        # Port of Search Middleware
        port: 443
        # Setting if SSL is enabled for Search Middleware
        ssl: true
        # Username of the push administrator
        pushAdminUser: "pushadmin"
        # Password of the push administrator
        pushAdminPassword: "adminpush"
        # Provide a custom secret that will be used to set credentials for push administration
        # If customPushAdminSecret is provided then pushAdminUser & pushAdminPassword values are ignored
        # This can be removed if there is no custom secret
        customPushAdminSecret: ""
        # Content Source ID of DAM
        # This is needed for indexing to work in DAM
        damContentSourceId: ""
        # Enable/Disable DAM Indexing
        damIndexing: true

Required Configuration

As a service provider to DX, searchMiddleware has several configuration settings that can help you manage the search functionality within DX. If you are using DAM and need to ensure your DAM content is being indexed for use with the DX Picker or your APIs, ensure to keep the damIndexing flag set to true.

You can create the damContentSourceId by using the POST /dx/api/search/v2/contentsources endpoint from the OpenSearch REST API:

{
    "type": "dam",
    "name": "dam",
    "aclLookupHost": "https://your-domain.com"
}

Enabling DAM Indexing

After configuring the OpenSearch middleware, run the following helm upgrade command to enable indexing in DAM:

helm -n dxns upgrade -f ./install-deploy-values.yaml dx-deployment ./install-hcl-dx-deployment