Give allowed file types in file dropper

0
Hi, In file dropper widget I want to allow only specific file types like “ .pdf  .png  .jpg  .doc .tif  .easm  .xls . xlsx ” etc.  How I can do this? If anyone know about it please let me know.  
asked
2 answers
7

Hi, 

The file dropper widget uses mime types for restricting users to upload specific file types.

 

For example:  if you give image/* – this will allow all the image types like .jepg, .png, etc., So you have to remove image/* and replace it with image/jpeg and so on. 

Ensure you remove all the /* types mentioned by default and replace them with required Mime types. 

You can refer to all the mime types Here.

 

Hope this helps!

answered
0

It looks like the file dropper widget has an option to add “verification before upload”

If you make sure your verification entity has an attribute for the extension, fill it out in “extension attr.” and then use it in your “before accept mf” to make sure the filetype is one of the ones that you allow.

answered