Select to view content in your preferred language

Problems with attachments when generating templates in Survey123

47
0
12 hours ago
arc_ticodex
Regular Contributor

Hi all!
Our team has developed four forms using Survey123 with an image-type field for the user to upload from their device.
For each form, we developed a report template in Survey123 that should display certain fields, including the image uploaded by the user.
We were bringing the image into the reports by just calling the name of the respective XLSForm field:

${agent_signature | size:150:0}

However, this function stopped working in one of the reports, when it is generated the image space is empty.
The images appear in the printout if we use the syntax that contains all the attachments in the layer, as shown below:

${#$attachment}${$file|size: 150:0}${/}

This solution doesn't work, because each image has a specific place in the template, and they can't all appear together in the same field.

Any idea why this works in some reports and not in others? Has anyone experienced this?

 

0 Kudos
0 Replies