Limit upload size to DAM - Solution Issue

Avatar

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
andresh54167051
Level 1

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)

Avatar

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
andresh54167051
Level 1

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)

Avatar

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
andresh54167051
Level 1

18-09-2017

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

Avatar

Avatar
Boost 5
Employee
ukgaurav
Employee

Likes

15 likes

Total Posts

86 posts

Correct reply

31 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Employee
ukgaurav
Employee

Likes

15 likes

Total Posts

86 posts

Correct reply

31 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
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

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

05-09-2017

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

Avatar

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
andresh54167051
Level 1

05-09-2017

In DayCare or authors' blog post?

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

05-09-2017

I recommend opening a bug on this.

Avatar

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
andresh54167051
Level 1

05-09-2017

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

Avatar

Avatar
Validate 1
Level 4
Diego_Fontan
Level 4

Likes

29 likes

Total Posts

62 posts

Correct reply

12 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
Diego_Fontan
Level 4

Likes

29 likes

Total Posts

62 posts

Correct reply

12 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Diego_Fontan
Level 4

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?

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

24-08-2017

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

Avatar

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
andresh54167051
Level 1

24-08-2017

Hi Scott,

Any luck looking into it?

Thanks

Avatar

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
andresh54167051
Level 1

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

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

23-08-2017

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

Avatar

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
andresh54167051
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
andresh54167051
Level 1

23-08-2017

6.1

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

23-08-2017

What AEM version are you using?