So far so good. Replacing ‘attachment’ with ‘media’ is no deal.
But I cannot anywhere find the information which is replacing the [Submission uuid] to develop the link correctly.
Thank you for your support!
@ Kal_Lam Thank you for your suggestion. I’ve tried with public data, the result is the same.
I’ve investigated a bit more as the date of submission turned out not to be an obstacle. My latest findings are the following:
…/media/… and …/attachment/… can be used synonymously.
The problem occurs when records are edited.
We record the data with kobocollect on site and administrators clean them via Enketo.
It seems media files are identified by [original uuid]/[NameofFoto].jpg
But as soon as the record is edited, it gets a new uuid while media-identifier remains at the original uuid.
Therefore, the problem could be solved if I would be still able to find the [original-uuid] after the update of the record.