Skip to main content
NageshRaja
Level 5
Apr 14, 2026 6:45 AM UTC
Solved

AEM Sites Remote DAM Asset Selector video support and metadata search

Hi All,


We have migrated from a 3rd party DAM provider to AEM Assets

We are now replacing the 3rd party dependency and package by changing the sling:resourceType FROM custom path "/apps/3rdparty-connector/core/ui/components/content/custom-pathfield" TO sling:resourceType="cq/gui/components/authoring/dialog/fileupload".

Our Sites Program and Assets Program are different and hence need to be connected via Remote DAM Asset Selector. To do so, we have added the configuration "com.adobe.cq.ui.wcm.commons.internal.services.NextGenDynamicMediaConfigImpl.cfg.json" to connect to remote DAM Instance.

We are able to connect to DAM Instance and using remote option for image selection able to select the image and display it in our pages. (Delivery URL Sample - https://delivery-p0000001-e0000002.adobeaemcloud.com/adobe/assets/urn:aaid:aem:00099990-0001-46f7-9a19-f0csd229b0d2d/as/test.png)
 

However, we are missing few things.
1. Ability to filter assets other than images (Videos are not supported)
2. Metadata based search for assets.


How do we customize this view to include folder-wise view vs a flattened structure?
File Type filter extending beyond “images” to include “videos”.

 

Thanks in advance,

NK

    This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
    Rohan_Garg
    Rohan_GargAccepted solution
    Community Advisor
    Apr 17, 2026 1:26 PM UTC

    Hey ​@NageshRaja, if you check your resourceType pointing to “/libs/granite/ui/components/foundation/form/fileupload” it has multiple JS files one of which is “file upload-polaris.js”
     


     

     The Polaris selector locks the picker to images only.

    defaultValue: ["image/*"],
    readOnly: true

    Hence, you see the filters only set to images.

    You can tweak the JSP by overlaying it to support videos...BUT before that validate Polaris backend support.
    Refer Asset Selector customizations

    The URL pattern https://${repositoryId}/adobe/assets/${assetId}/as/${name} must work for the video too for changes to work. AEM’s coral-file upload is image-oriented by default.

    Rohan Garg

    4 replies

    Saravanan_Dharmaraj
    Community Advisor
    Community Advisor
    Apr 16, 2026 5:20 PM UTC
    Saravanan_Dharmaraj
    Community Advisor
    Community Advisor
    Apr 16, 2026 5:41 PM UTC

    ​@NageshRaja You can check this article on how to overlay /libs/cq/gui/components/authoring/dialog/fileupload/clientlibs/fileupload/js/fileupload-polaris.js into /apps and update with below. Please test it out in your local first. 

     

    const assetSelectorProps = {
        // ... existing properties ...
        "hideTreeNav": false, // Ensures the tree navigation sidebar is visible
        "rail": false         // Must be false for hideTreeNav to be effective
    };

    Translate
    Rohan_Garg
    Community Advisor
    Rohan_GargCommunity AdvisorAccepted solution
    Community Advisor
    Apr 17, 2026 1:26 PM UTC

    Hey ​@NageshRaja, if you check your resourceType pointing to “/libs/granite/ui/components/foundation/form/fileupload” it has multiple JS files one of which is “file upload-polaris.js”
     


     

     The Polaris selector locks the picker to images only.

    defaultValue: ["image/*"],
    readOnly: true

    Hence, you see the filters only set to images.

    You can tweak the JSP by overlaying it to support videos...BUT before that validate Polaris backend support.
    Refer Asset Selector customizations

    The URL pattern https://${repositoryId}/adobe/assets/${assetId}/as/${name} must work for the video too for changes to work. AEM’s coral-file upload is image-oriented by default.

    Translate
    Rohan Garg
    chavad
    Level 2
    Apr 27, 2026 5:12 AM UTC

    Hi ​@NageshRaja 

    We also faced this kind of issue while migrating videos to ADM. We configured the filter schema as per this https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/manage/asset-selector/asset-selector-customization#customize-filter-panel in our assetSelectorProps and added it in polaris file upload js logic to render asset picker- 

    PureJSSelectors.renderAssetSelectorWithAuthFlow(
    container.get(0),
    assetSelectorProps,
    () => {
    polarisDialog.show();
    }
    );

    Hope this helps 

    Translate