Limit upload size to DAM - Solution Issue | Community
Skip to main content
Level 2
August 23, 2017
Solved

Limit upload size to DAM - Solution Issue

  • August 23, 2017
  • 14 replies
  • 6737 views

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 Upload ) 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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by andres-holland

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.

14 replies

smacdonald2008
Level 10
August 23, 2017

What AEM version are you using?

Level 2
August 23, 2017

6.1

smacdonald2008
Level 10
August 23, 2017

Can you post a screen shot please. We can look into that.

Level 2
August 23, 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

Level 2
August 24, 2017

Hi Scott,

Any luck looking into it?

Thanks

smacdonald2008
Level 10
August 24, 2017

The author is looking into this. This looks like a bug in that package.

Diego_Fontan
Level 4
August 25, 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?

Level 2
September 5, 2017

Scott - sorry to bother you again but is there any chance the author had a chance to look into the bug?

smacdonald2008
Level 10
September 5, 2017

I recommend opening a bug on this.

Level 2
September 5, 2017

In DayCare or authors' blog post?