Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Recommended way for customizing Asset Selector dialog?

Avatar

Level 3

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 Accepted Solution

Avatar

Correct answer by
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

View solution in original post

1 Reply

Avatar

Correct answer by
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