Hi,
Is there anyway to prevent assets which match a format to be added in the DAM on AEM 6.1?
For example, can I say that no one can put videos in the DAM ?
Thanks,
Grégory
Solved! Go to Solution.
Views
Replies
Total Likes
I don't know whether there is any OOTB configuration to limit the file types. But 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.
Views
Replies
Total Likes
I don't know whether there is any OOTB configuration to limit the file types. But 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.
Views
Replies
Total Likes
The best approach i would say is having a workflow launcher. Workflow launchers will give you the ability to that easily.
Views
Replies
Total Likes
Thanks Kunal, I think your proposal can do what I'm looking for.
tc94524330, thanks for you answer but if I had a workflow launcher, this means the asset is already in the DAM so this is not an option.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies