06-10-2021 12:45 AM
Nuxeo is allowing to upload of any kind of file format to the application. I don't want to upload the .exe file to the application. can anyone tell me how to do this?
thanks
06-10-2021 03:57 AM
If you're using WebUI, the upload providers support an accept attribute, where the value is a comma-separated list of accepted mime types.
https://doc.nuxeo.com/nxdoc/web-ui-upload-providers/
Here's an example:
    <nuxeo-dropzone role="widget"
                label="PDF file"
                name="content"
                accept="application/pdf"
                document="[[document]]"></nuxeo-dropzone>
 
					
				
				
			
		
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.