HOW TO

Print attachments that were not submitted via Survey123 app in the feature report created in Survey123 Website

Last Published: December 5, 2022

Summary

A feature report containing survey information including maps, signatures and images can be generated after a survey is submitted. However, in some instances, the images captured are not exported to the Word document of the ArcGIS Survey123 feature report.

Specifically, some images are not exported in reports generated from Survey123 website when ${image_question_name} is used in the report template.

 

This is a known limitation that attachments do not show up in the reports created in Survey123 website if they have been added to the survey's hosted feature layer outside Survey123 apps, such as ArcGIS Field Maps or a web app. For instance, adding attachments through the web map or a web application in ArcGIS Online, which can result in missing tags. See: ArcGIS Survey123 Known issues. This is also mentioned in existing bugs BUG-000126416BUG-000111958BUG-000139638.

This issue also happens in ArcGIS Enterprise versions prior to 10.8.1. ArcGIS Enterprise 10.8.1 supports attachment keywords. This attribute is necessary when generating ArcGIS Survey123 reports from the Survey123 web site in a Portal for ArcGIS environment, as Feature Service report templates use keywords to reference each image.

Data created before 10.8.1 gains the keyword attribute, but the field does not auto-populate with the keyword. Therefore, image attachments are not printed on the reports.

Procedure

When looking at existing submissions on the individual form view in Survey123 website, these images show up under attachments section instead of showing up under each image question.

There are different ways to work around this issue.

The first workaround is explained in this article, and is as follows:
A quick workaround is return the attachments in the feature report. This can be done using the following code in the feature report template, as seen in the image below:

${#$attachment}
${$file}
${/}

Make sure to add the above as three separate lines in your template. This expression will show all attachments found in your feature.
By doing this, all attachments, regardless of having keyword, are printed in the report. However, they still won’t be associated with certain image questions on the survey.

Article ID:000027055

Software:
  • ArcGIS Survey123 Website

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic