I've been working with the event capture in dhis2 and looks like it is far less polished than the "data entry" part. Right now in the data entry if you choose to use a data element of type "file" a button to upload the file appears there.
When you use a data element of type "file" on event capture a text field appears instead (and looks like it expects the id of the file to be put there), but no way to upload the file first. The only way I've seen to do this is to first upload the file inside the form using the dhis api, retrieve the id and put it automatically on the field (but still quite not sure about how this could be done).
I was wondering if there was an easier way or if someone faced the same problem or if there is an easier way that I missed to do this. (seems like quite a complex way to just upload a file)
Thanks for your time!