Highlighted

Limit filesize of assets into DAM?

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

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

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

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.