FileUpload

FileUpload is a form field that allows uploading, removing and downloading files. For image files it allows to preview and download the file via ImagePreview component. FormField will automatically render a FileUpload for a FileDescriptor entity property.

FileUpload and ImagePreview demo

Permissions

View and download

User will be able to see the file name and download the file when the following conditions are met:

  • User has at least read-only permission on the corresponding entity attribute.

  • User has read permission on sys$FileDescriptor system entity and at least read-only permission on its attributes.

Remove

User will be able to remove the file when the following conditions are met:

  • User has modify permission on the corresponding entity attribute.

"Removing the file" actually doesn’t physically remove the file from server. It just removes the association between the entity and the file descriptor.
Upload

User will be able to upload the file (and link it with the entity) when the following conditions are met:

  • User has modify permission on the corresponding entity attribute.

  • User has create permission on sys$FileDescriptor system entity.

  • User has Upload files using REST API specific permission.