Expand my Community achievements bar.

Customize DAM folder settings

Avatar

Level 2

Hi,

Use case: We need the folder specific filesize limit to upload assets. 

In our project, we need to have folders segregated according to their upper limit for the assets(Max2MBAssets, Max5MBAssets, Max10MBAssets).

Please suggest any way to achieve this. 

Thanks & Regards,

Veeru

4 Replies

Avatar

Administrator

Hi

We do not have OOTB of folder specific limitation.

Limitation could be applied as on all folders.

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

 

To achieve, what your are asking here, we need to create a custom component/Service using AssetManager APIs. Here we can check the destination folder and can apply rules Assets size.

Reference Helpx artice:- https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html and https://helpx.adobe.com/experience-manager/using/graniteAPI.html

 

~kautuk



Kautuk Sahni

Avatar

Level 2

Hi Kautuk,

Can you elaborate on the solution? This is requirement from Author side to upload assets to DAM.

Thanks & Regards,

Veeru

Avatar

Level 2
                Hi, Can we add custom properties to DAM folder settings? Objective: To make the file sizeLimit specific to DAM folder depends on the custom property for DAM folder. Instead of having global DAM file upload limit(sizeLimit) at /libs/dam/gui/content/assets/jcr:content/body/assetscontent/header/items/default/items/fileupload. I created additional properties for DAM folder settings(Can find in attachments), I want to customize the DAM update asset workflow to validate against the custom DAM folder setting property. Please suggest..  

Hi Veereswara,

When an author click on 'New File' in damadmin and selects the file and click on 'Upload', you can customize/override the service called to make a check/validation at that point in time as you will know the path under which the asset is uploaded.