We use the Feature Report for Survey123 quite a lot within our organisation. From time to time we tend to get errors and with help from this forum most of it is solved. There are however two kinds of question that are sometimes hard to solve the errors for: images and geopoints.
In this particular survey there are 3 different image options:
Specific photos and the signature work perfect, but I cannot seem to get the general photos to work. Part of the XlsForm with the general photos marked in red is shown below.
In the feature report template I have added the following code:
For a comparison, the specific photos, also in a repeat, are added to the template as follows. These photo tags are marked in red.
The photos "Foto1" and "Foto2" in the repeat "R_Elementen" are exported correctly. However, when I want to export the photos in "Foto" in the repeat "IMG", I get the following error:
In one of the earlier version of this survey, the export was fine, but after some changes (without changing the IMG-repeat) it started to produce this error. Any thoughts on this issue?
Thanks,
Mattheas
Hi Mattheas,
Could you share the XLS form file and DOCX template file?
Thanks Mattheas,
I can see the issue with a republished version of your form & template. We'll investigate further to try to determine the cause.
Hi James,
Thank you for your time. I hope you can find the cause of the problem. The strange thing is that it used to work in a previous version of the form and template.
Hi Mattheas,
Insert a line-break before and after the code of image inside repeats should be working:
The feature report engine would expect <w:t> tags for image, which maybe previously existed in the template. However, inserting a line-break would definitely make sure the image has it's own <w:t> tags. Could you please have a try?
Thanks,
Jody Zheng Liu