Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Recommended way for customizing Asset Selector dialog?

Avatar

Level 2

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.

 

IshaJa_0-1715115517309.png

 

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!

1 Reply

Avatar

Community Advisor

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/ext... . If app builder does not meet your requirement then you should overlay the traditional way you were describing.

 


Hope this helps



Esteban Bustamante