Highlighted

How can we restrict any file to upload into damadmin in a particular folder in touch UI?

GauravKumar

21-06-2017

Hi guys,

I want to upload only pdfs in my folder as under dam/test in touch UI and restrict to other files like xml,doc etc. I have tried that at this path /libs/dam/gui/content/assets/jcr:content/actions/secondary/create/items/fileupload I have add a property mimyType= application/pdf but the problem is that because of this property, restriction is available for all folder but I want only a particular folder.

So can anyone please help me for this.

Replies

Highlighted

GauravKumar

21-06-2017

This is fine but my requirement is that when we go to the dam console in touch UI and we click on create button and then file at that time I want that I will be able only pdfs files not other type of file. And as I already discuss that when I add the property mimeType = application/pdf on the fileupload node, then I am able to select only pdfs but using this approach, this restriction will be for every folder But I want this only for my folder.