Highlighted

Limit filesize of assets into DAM?

Avatar

Avatar

ronaldd85054752

Avatar

ronaldd85054752

ronaldd85054752

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

Highlighted

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
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

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
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 

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

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.

Highlighted

Avatar

Avatar

arvindk091986

Avatar

arvindk091986

arvindk091986

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.