Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Limit upload size to DAM - Solution Issue

andresh54167051
Level 2
Level 2

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.

1 Accepted Solution
andresh54167051
Correct answer by
Level 2
Level 2

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

View solution in original post

14 Replies
smacdonald2008
Level 10
Level 10

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

andresh54167051
Level 2
Level 2

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

andresh54167051
Level 2
Level 2

Hi Scott,

Any luck looking into it?

Thanks

smacdonald2008
Level 10
Level 10

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

Diego_Fontan
Level 4
Level 4

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
Level 2
Level 2

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

smacdonald2008
Level 10
Level 10

Author Post. There is something wrong if you get that behaviour.

ukgaurav
Employee
Employee

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

andresh54167051
Level 2
Level 2

Hi Gaurav,

This is related to classic UI, we do not use the Touch UI yet. I've narrowed the problem down to this section of the code.Screen Shot 2017-09-18 at 4.38.48 PM.png

andresh54167051
Correct answer by
Level 2
Level 2

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

View solution in original post