Skip To Content

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 some key settings and capabilities that you can configure for this app:

  • Map-focused layout—Displays the map in the main panel of the app with a gallery of attachments.
  • Attachment-focused layout—Displays one attachment at a time in the main panel of the app with the map on the side.
  • 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.
  • 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.
  • Zoom, pan, and download attachments—Allows users to interact with and download attachments.
  • Social sharing—Shares 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.

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