ArcGIS Configurable Apps

Enhance Attachment Viewer Capabilities with Full Setup

Attachment Viewer is a configurable app (introduced with the June 2019 update of ArcGIS Online) that allows you to work with images and features on a map. You can build an app that presents spatial data with an intuitive feature-by-feature browsing experience while viewing images stored as attachments. App users can browse through each feature and view the pop-up information and attached images. Whether working with pre-existing images or incorporating them during data collection, you can use Attachment Viewer for datasets with images, videos, or PDF attachments. You can pair it with data collection workflows using Esri apps such as Geoform, Survey123, Web AppBuilder, ArcGIS Collector, and QuickCapture.

This blog post will discuss options that are available in Full Setup, which allows access to all settings supported by the app and extends the capabilities of the Express Setup, which are detailed in Build an Attachment Viewer App with Express Setup. Full Setup is a part of the updated configuration experience available with JavaScript 4.x configurable apps.

Switch from Express to Full Setup

By default, the app opens in Express Setup, which contains the most essential settings for configuring the app. To switch to the Full Setup experience, click on the Switch to Full Setup button on the left hand Action Bar (Image 1).

Image of workflow to switch to full setup experience
Image 1 - Switch to Full Setup

Once in the Full Setup experience, the configuration panel lists the same four categories of settings available in Express: Map, About, Interactivity, and Theme & Layout. Clicking each section reveals more settings for each category (Image 2).

Image of the settings available in the Interactivity section of Full Setup
Image 2 - Interactivity section of Full Setup experience

Show Image Direction

Image Direction is in the About section under Location Details. If images in your attachments contain exif data, enabling this setting displays the GPS image direction in the lower left corner of the attachment window (Image 3). This information provides app users with information about how and where the image was captured.

Image of photo in Attachment Viewer application with Image Direction information displayed
Image 3 - Photo displayed in Attachment Viewer with Image Direction enabled

Hide Features without Attachments

There may be times during data collection when a feature is added without an attachment. Attachment Viewer allows you to hide features without attachments if those features are not relevant to your app users. You can find this option in Interactivity, under the Modify subsection. Once it is enabled, features that do not have associated attachments no longer appear in the attachment pane (Image 4) or on the map.

Image of two attachment panels, one showing all features and the other showing only features that contain attachments
Image 4 - Attachments panel displaying all features on the left versus displaying only features with attachments on the right

Feature Selection

To allow your app users to select a subset of features on the map, you can enable the Feature Selection tool (Image 5) in Interactivity under the Modify subsection. This tool allows app users to draw a selection box around a cluster of features and browse through the attachments associated with the features selected. When a group of features is selected on the map, only the attachments associated with the selected features appear in the attachment pane.

Image of a web map with the feature selection tool enabled and a set of features selected
Image 5 - A group of selected features on the map with only associated attachments visible

Image Downloads

To allow users to download your attachments, enable image downloads in Interactivity under the Share section. Once this setting is enabled, a download button appears at the lower right corner of the image attachment (Image 6), which users can click to download attached files. This option is compatible with attached video files as well as image attachments.

Image of an Attachment Viewer application with image downloads enabled, highlighting download button
Image 6 - Attachment Viewer app with image downloads enabled

Share the App

Once you are finished configuring the app, the app is ready to be published and shared with your audience. Browse to the bottom of the configuration panel and click Publish to open the Publish window (Image 7).

Image of the Publish button and Confirm Publish button for configurable apps
Image 7 - Publish the app to save settings and share the app

Click Confirm to save all settings and publish the app. The app is now ready to be shared. Share your work on GeoNet to show others what you can do with Attachment Viewer.

About the author

Krista McPherson

Krista is a Product Engineer on the Holistic Team who works with ArcGIS Online and configurable apps.

2
Leave a Reply

Please Login to comment
newest oldest
Charles Dawley
Charles Dawley

Is a editing function going to be added to the attachment viewer? It would be useful to be able to add notes or collect other information based on what is found in the images. Thanks

Next Article

Multivariate maps: what are they and how can I make them in ArcGIS?

Read this article