AEM as a Cloud Service: Enable search in asset selection dialog

Adobe Experience Manager as a Cloud Service (AEMaaCS) doesn’t provide search in the default asset selection dialog, and there is no supported configuration-only method to enable it. To resolve the issue, use Asset Selector with a Pathfield in the component dialog to provide browsing and search functionality for DAM assets.

Description description

Environment

Adobe Experience Manager as a Cloud Service (AEMaaCS)

Issue/Symptoms

  • The Select Path dialog allows folder-by-folder navigation when selecting a DAM asset.
  • The dialog doesn’t provide a search field or Type to search… option.
  • The behavior is consistent across Author environments.

Root cause

The default asset selection dialog doesn’t provide search because of current product design limitations. There is no supported configuration-only method to enable search in this dialog.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Recognize that the absence of search functionality in the asset selection dialog is a product limitation in AEM as a Cloud Service.

  2. Avoid unsupported customizations, such as overlays of /libs client libraries or custom JavaScript modifications.

  3. To provide a search-enabled asset selection experience, use Asset Selector with a Pathfield in the component dialog. For example:

    code language-none
    <items>
        <assetPathfield
            jcr:primaryType="nt:unstructured"
            fieldLabel="Select Asset"
            name="./assetPath"
            sling:resourceType="cq/gui/components/coral/common/form/pathfield"
            pickerSrc="/mnt/overlay/dam/gui/content/assetselector/assetselector.html?selectionCount=multiple"/>
    </items>
    
  4. Use Asset Selector to browse and search for assets by name and metadata.

  5. For more details on Asset Selector properties and configuration, refer to the Asset Selector documentation.

  6. Monitor AEM as a Cloud Service release notes and Experience League for future enhancements to the asset selection dialog.

  7. Open the component dialog and verify that Asset Selector allows searching for assets.

recommendation-more-help
experience-cloud-kcs-help-kbarticles