Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

AEM DAM File Upload


Level 2

Hi Team,


I want to Limit file size upload to DAM based on the file type

When: I upload the following items , there will be an upper limit of:

  • Image files - 1MB

  • Document files - 2MB

  • Video files - 100MB

and so on, Can we do that?

Recently I have modify the file upload limit from 2gb to 5MB and It is working as expected.

Also can we customize the error message which we got while I try to upload more than 5MB as per my scenario?



Please answer above questions.



1 Accepted Solution


Correct answer by
Community Advisor
2 Replies


Correct answer by
Community Advisor