Hi All,
Is there any OOTB functionality in AEM6.1, by which we can set some dam folder(/content/dam/xyz) to accept only some specific type of asset like, pdf or xls etc to be uploaded?
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi
Please have a look at this similar forum thread:-
//
There is a community article for restricting the upload based on size of the file - http://experience-aem.blogspot.com/2014/12/aem-6-sp1-classic-ui-restrict-large-or-small-files-upload.... You can customize it and add your logic of checking the file types. You can either just check the file extensions in the javascript or invoke a backend servlet to check the file headers for the mime types. Also, this is limited to Classic UI only.
'DAM Update Asset' workflow, there you can configure which file types should be allowed. Similarly, you can write custom workflowprocess service to check the type and size of the asset and restrict the uploads accordingly.
You could create a custom sling servlet, that will upload assets for you. There you can insert you logic to restrict anything.
Link:- https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html
// AEM 6.1 : DAM - Prevent adding of some asset format
I hope this would help you.
~kautuk
Views
Replies
Total Likes
Hi
Please have a look at this similar forum thread:-
//
There is a community article for restricting the upload based on size of the file - http://experience-aem.blogspot.com/2014/12/aem-6-sp1-classic-ui-restrict-large-or-small-files-upload.... You can customize it and add your logic of checking the file types. You can either just check the file extensions in the javascript or invoke a backend servlet to check the file headers for the mime types. Also, this is limited to Classic UI only.
'DAM Update Asset' workflow, there you can configure which file types should be allowed. Similarly, you can write custom workflowprocess service to check the type and size of the asset and restrict the uploads accordingly.
You could create a custom sling servlet, that will upload assets for you. There you can insert you logic to restrict anything.
Link:- https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html
// AEM 6.1 : DAM - Prevent adding of some asset format
I hope this would help you.
~kautuk
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies