Limit upload size to DAM - Solution Issue

andresh54167051

23-08-2017

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.

Accepted Solutions (1)

Accepted Solutions (1)

andresh54167051

20-09-2017

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.

Screen Shot 2017-09-20 at 12.26.35 PM.png

Answers (13)

Answers (13)

ukgaurav

Employee

05-09-2017

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

Thanks,

Gaurav

Diego_Fontan

25-08-2017

Can you share the error.log at the moment you generate the package and the moment you install the package? Did you check also if also rendition/metadata are corrected or no?

andresh54167051

23-08-2017

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!

Loom - Quick Videos, Faster than Typing