cancel
Showing results for 
Search instead for 
Did you mean: 

How to limit file size

Nuxeo_User
Confirmed Champ
Confirmed Champ

Hello.. I want to limit the size of the files you can attach to Nuxeo Documents.At the documentation i saw a way by modificating nuxeo.conf.I set the max size this way:

nuxeo.jsf.maxFileSize=555557

This way you can not upload files bigger than the specified size but the platform stucks and doesnt give you a message.Is there a way of showing a message?

7 REPLIES 7

Vladimir_Pasqui
Star Collaborator
Star Collaborator

Hello,

Nuxeo_User
Confirmed Champ
Confirmed Champ

Hi Vladimir..I doesnt finish at the end of upload.I would like to give a message saying that the file can not be imported because it is too big.It stucks and it doesnt provide any logs.

Vladimir_Pasqui
Star Collaborator
Star Collaborator

You would have to create a custom seam validator to check the size of the blob programmatically and display the good message -> https

Nuxeo_User
Confirmed Champ
Confirmed Champ

Yes but in the creation layout when defining the file

Vladimir_Pasqui
Star Collaborator
Star Collaborator

IMO You can add in a custom property down the field configuration panel

Nuxeo_User
Confirmed Champ
Confirmed Champ

thank you Vladimir.it works

Nuxeo_User
Confirmed Champ
Confirmed Champ

Do you have any idea if i can limit also when drag and dropping the file Vladimir?

Getting started

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.