Hello dear Kobo Community Professionals!
For reasons I don’t understand, not all photos are displayed in the form preview on the DATA tab. The form collects around seven photos, and when I preview the form by clicking the ‘Eye’ icon, all the photos are displayed except for those from one section.
However, if I export an Excel spreadsheet where each photo is represented by a link, I can find that photo on the relevant tab in the spreadsheet.
What should I look out for, or what might the problem be?
Hi @Andrii1, welcome back to the forum ![]()
If possible, could you please share the XLSForm of your project so we can take a closer look?
It would also be very helpful to check whether your form has multiple deployed versions. When question names change between versions, previously deployed fields can lose their references.
As a final check, could you let us know whether you’re collecting data using Web Forms or KoboCollect?
Dear jorcabrera, im sorry for the delayed response,
I’m not sure if I’ve understood correctly regarding the number of versions, but when I open the ‘Form history’, the current form is at version sixteen, yet only one – the latest version – is active at any one time.
The data is collected using KoboCollect.
I also apologise that the form’s functionality is a bit complex (it could have been written more simply), but that’s the one I’ve been given – it was created using AI
a5WuqabNwiyDV2fhkjXURG.xlsx (28.5 KB)
.
I’m also attaching the form – apologies in advance – I’ve removed some text fields that don’t affect the form’s functionality (they were causing concatenation).
Thank you in advance for taking the time to look into my query.
Hi @Andrii1
For example in version one, the image question p4_vulndocph was placed inside a group or repeat group. That means its XPath at time T0 was built using the original group name:
/group_name_version_one/p4_vulndocph
By version N, the group name was changed, so the updated form now exposes the question at a different XPath:
/group_name_final_version/p4_vulndocph
Because the XPath at Tfinal no longer matches the XPath used during data collection at T0, the system cannot resolve the original references, which results in missing or “lost” links to previously submitted files.
Note: If you check your files in the gallery you should be able to retrieve all of them

