Recommended way for customizing Asset Selector dialog? | Community
Skip to main content
Level 2
May 7, 2024
Solved

Recommended way for customizing Asset Selector dialog?

  • May 7, 2024
  • 1 reply
  • 711 views

We're currently using the OOTB asset selector that comes with Next Gen Dynamic Media and the image component. We want to customize this so that it shows us our folder structure, lets us selector other file types, etc.

 

 

We are using Service Pack 6.5.19.0, so it looks like we would need to override or overlay the functionality in /libs/cq/gui/components/authoring/dialog/fileupload/clientlibs/fileupload/js/fileupload-polaris.js. 

 

What's the best practice for this scenario? It looks like all we need to do is edit the asset selector props, so not sure what the best approach would be. Appreciate any help!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by EstebanBustamante

Hi, 

Ideally, you should use app builder, here you can find an example of what I think is your use case: https://experienceleague.adobe.com/en/docs/experience-manager-65/content/implementing/developing/extending-aem/customizing-page-authoring-touch#add-new-selection-category-to-asset-browser . If app builder does not meet your requirement then you should overlay the traditional way you were describing.

 


Hope this helps

1 reply

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
May 8, 2024

Hi, 

Ideally, you should use app builder, here you can find an example of what I think is your use case: https://experienceleague.adobe.com/en/docs/experience-manager-65/content/implementing/developing/extending-aem/customizing-page-authoring-touch#add-new-selection-category-to-asset-browser . If app builder does not meet your requirement then you should overlay the traditional way you were describing.

 


Hope this helps

Esteban Bustamante