Attachment Viewer

Use the Attachment Viewer template to provide an app for users to page through a layer's features and review image, video, and PDF attachments with the option to update attribute data. This is a good choice for presenting data and images collected with ArcGIS apps such as ArcGIS Field Maps and ArcGIS Survey123. Choose an attachment-focused layout to display individual images next to a map or a map-focused layout to highlight a map next to a gallery of images. (To learn more, see the blog article about using Attachment Viewer.)

Examples

Choose this template to create an app for use cases such as the following examples:

  • Review photos collected during emergency response damage inspections.
  • Display the results of field data collection and support downloading images for inclusion in a report.
  • Present a map of a land parcel along with associated documents stored as attachments.

Data requirements

The Attachment Viewer app requires a feature layer with attachments. It includes the capability to view attachments of a hosted feature service or an ArcGIS Server feature service (10.8 or later). Currently, the app can display JPEG, JPG, PNG, GIF, MP4, QuickTime (.mov), and PDF files in the viewer window. All other attachment types are displayed as a link.

App capabilities

The following list includes key settings and capabilities that you can configure for this app:

  • App layout—Choose between an Attachment focused layout, which displays one attachment at a time in the main panel of the app with the map on the side, or a Map focused layout, which displays the map in the main panel of the app with a gallery of attachments.
  • Cover page—Include a cover page with custom text and logos to establish the purpose of the app.
  • Feature selection—Allows users to select features in the map and view associated attachments.
  • Attribute editing—Allows users to review data and update attributes for existing records in editable layers.
  • Attribute filter—Configure the filter options for the map and attachments that are available to users.
  • Navigation boundary—Restrict map navigation to a particular region and zoom scale to maintain focus on key map areas. You can also rotate the map or prevent map rotation.
  • Sharing—Share a link that preserves the current map extent, visible layers, and selected features as URL parameters so users can share what they see in the app.
  • Image pan/zoom—Allows users to interact with attachments by zooming in or out and browse the attachment.
  • Image downloads—Allows users to download attachments.
  • Language switcher—Provide translations for custom text and create a multilingual app.

All Instant Apps templates include settings for a Home button and zoom controls, a legend, and the ability to search the map or data.