adobe / asset-share-commons

A modern, open-source asset share reference implementation built on Adobe Experience Manager (AEM)
https://opensource.adobe.com/asset-share-commons/
Apache License 2.0
88 stars 107 forks source link

How to revive legacy "flatStructure" download #1197

Open zhgeric opened 9 hours ago

zhgeric commented 9 hours ago

Question?

davidjgonzalez commented 8 hours ago

I think we'll have to add a toggle to the dialog that lets you force a flat structure and check that on like 118 here:

https://github.com/adobe/asset-share-commons/blob/develop/core.cloud/src/main/java/com/adobe/aem/commons/assetshare/content/renditions/download/async/impl/AsyncAssetRenditionsDownloadServlet.java

I'm not sure what would happen if you have 2 assets w the same file name tho (but in different assets folders)