Document List
Lets application users upload and list multiple files at once. As an experimental feature it requires a little bit more setting up.
First create an entity that will represent individual files.
It needs to have:
- Document attribute - that will be used as a document holder
- User attribute - attribute of a special type User
- Datetime attribute - non nullable attribute to represent time of creation
- Direct reference - to a Parent entity.
Then add the Document list component to your view. Fill it's configuration with the newly created entity:
- Item entity - an entity that represents individual files
- Document attribute - attribute used as a document holder
- Parent entity reference - entity that receives the Document list functionality
- Visible expression - security condition for showing the Document list component
- Enabled expression - security condition that needs to return true to allow users to upload new files