I already posted this in the forum, but by mistake, i posted it in the general developer forum. I think this is a better place to ask this question.
The idea I have in mind is that I want a database activity in which users can add entries. Each entry contains, as one of it fields, a file. I would want these files to be accessible from the File Picker, so that, for example, a teacher could pick it (or link it by creating an alias) to use it somewhere else in Moodle, just like he would be able to do it with a dropbox, webdav, google drive or whatever repository if the appropiate repository plugin is enabled.
Is there a way to do this?