Managing Files

In this section, we describe API and UI components that Jmix provides for uploading, downloading and storing files and other resources.

There are two ways to store files in a Jmix application:

  • In the database, using entity fields of the byte array type.

  • In a separate file storage located in the local file system, in the cloud, or based on an external service. In this case, the file is bound to the data model using an entity attribute of the FileRef type.