I am following the solution recommended by Experience AEM (Experiencing Adobe Experience Manager - Day CQ: AEM 6 SP1 - Classic UI Restrict Large or Small Files... ) to limit file upload size to the DAM in Classic UI. It works as described when authors use the new button to upload asset, however after deploying this code disables the drag-and-drop functionality in the DAM. I tested in new AEM install to make sure issue wasn't related to my code base. Does anyone know why and have any recommended solutions? Thank you.
Hi everyone. I was able to find a solution which restores drag/drop functionality and continues to limit file uploads by size. Just replace the code I posted in the screenshot above with the following code. Thanks.
If you are not on latest Service Pack and Cumulative Fix Pack on 6.1 we recommend one as we have done lot of improvements in this area specially in Touch - UI. You might want to review this - Adobe Experience Manager Help | Release Notes: AEM 6.1 Cumulative Fix Pack
Here is link to a 30 second video grab of issue. The screen grab shows that without above code installed, drag-drop works fine. After code is installed, drag-drop functionality no longer works.
Let me know if you have any questions. Thanks Scott!