Configuration of the runtime.properties

Before you run the Tomcat server with VIVO, please configure the following in {VIVO_HOME}/config/runtime.properties:

# File upload file size in bytes. By default 10485760 bytes (10Mb)
fileUpload.maxFileSize = 10485760
#comma separated list of mime types allowed for upload
fileUpload.allowedMIMETypes = image/png, application/pdf

The maxFileSize property might have value between 0 and 50 Mb, while default value is 10Mb. 

Adding support for assigning file to the certain individuals class 

For instance, you can set domain for vitro-public:storedFile object property to http://purl.org/ontology/bibo/Book. After that, any instance of this class will have options to link files of the MIME type specified in the runtime.properties. The user with edit privileges can attach files and remove attached files, while the user with read privileges can download files.