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
BedrockMission!

Learn More

View all

Sign in to view all badges

Limit filesize of assets into DAM?

Avatar

Avatar
Validate 1
Level 2
ronaldd85054752
Level 2

Likes

0 likes

Total Posts

23 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
Level 2
ronaldd85054752
Level 2

Likes

0 likes

Total Posts

23 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
ronaldd85054752
Level 2

18-02-2019

Hey folks-

We're trying to limit the filesize of assets uploaded into the DAM.

I saw this Managing Video Assets about raising the limit... but we're trying to lower the limit. So far - I've tried the instructions in the article, without any luck. Any ideas?

Below is what I've done (this should limit uploads to 200 bytes as I understand, but no dice)... Note that I'm trying this on AEM 6.4.3 on my local machine.

Screen Shot 2019-02-18 at 10.53.04 AM.png

Replies

Avatar

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

283 solutions
Top badges earned
Establish
Give back 300
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

283 solutions
Top badges earned
Establish
Give back 300
Give Back 50
Give Back 5
Give Back 3
View profile
Gaurav-Behl
MVP

18-02-2019

From what screen/url did you test that?

Try to overlay this and test on '/content/dam' url -

/libs/dam/gui/content/assets/jcr:content/actions/secondary/create/items/fileupload

P.S. I tested with this and it worked fine

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,358 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,358 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

19-02-2019

I tried same with Coral and Granite fileupload , not able to limit the size of assets.

FileUpload — Granite UI 1.0 documentation

FileUpload — Granite UI 1.0 documentation 

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 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,408 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

19-02-2019

If the software does not correspond to the docs here:

FileUpload — Granite UI 1.0 documentation

which says size can be set -- there is a software bug. Please open a ticket so this can be fixed.

Avatar

Avatar
Validate 1
Level 2
arvindk091986
Level 2

Likes

2 likes

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 2
arvindk091986
Level 2

Likes

2 likes

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
arvindk091986
Level 2

27-08-2019

We may not need to do that on /content/dam node, we need to overlay the node "/libs/dam/gui/content/assets/jcr:content/actions/secondary/create/items/fileupload" to /apps/ and then update the sizeLimit property to whatever the value you want to set the limit to and the value that you set will be in bytes. That will work.