ArcGIS AppStudio

New Editing Capability in the ArcGIS AppStudio Map Viewer Template for Attributes and Attachments

The Map Viewer is one of the most popular configurable templates provided by ArcGIS AppStudio. You can create cross-platform native apps that allow users to view web maps and offline Mobile Map Packages. The Map Viewer includes tools to measure features, identify features and attachments, and perform freeform sketching on the map. With AppStudio 4.4, we are excited to release one of the most requested Map Viewer template features – editing for feature attributes and attachments.  Feature attribute editing opens the Map Viewer to a wide variety of new use cases such as asset maintenance and feature inspection.

Some example use cases include:

New Edit Attributes and Attachments Capability

If the editing capability is enabled for the Map Viewer template, you would see a new edit icon on the Identify panel’s bottom-right. Click/Tap on the edit icon to enter the editing mode. From here, you can edit and save changes for feature attributes and add or remove feature attachments.

Map Viewer template editing feature attributes

Editing capability requirements

The requirements for the editing capability are:

  1. Enable the edit property in the AppSettings for the Map Viewer template.
  2. Feature layers in web maps should be editable and allow for updates.
  3. End-users have to sign in to the Map Viewer template (we do not support editing public feature layers without being signed in at this time).
  4. Signed in users must have permission to edit feature layers in web maps.
  5. Signed in users must have Edit features privileges.
  6. If the app’s Runtime license level is Lite, the signed-in users’ user type must higher than Viewer (cannot be Viewer).

How to enable editing capability

Step 1. Create a new Map Viewer template

  1. Download AppStudio Desktop 4.4 or above.
  2. Sign in to AppStudio with your ArcGIS Online or Enterprise account.
  3. Click on the New App
  4. Click on the Templates
  5. Choose the Map Viewer template and click on the Create
Create a new template from AppStudio Desktop

Step 2. Enable sign-in

The Map Viewer template requires the user to sign in to edit features. Therefore, you will need to enable the sign-in feature in the Map Viewer template. To do this:

  1. Upload the Map Viewer app.
  2. Go to Settings > Properties > Gallery > enable the Support secured maps
  3. Go to Settings > Licensing and click on Register to register an ArcGIS Client ID that allows users to sign in to your Map Viewer template app.
Register a Client ID in AppStudio Desktop

Step 3. Enable editing capability

  1. First, enter your web maps in the Settings > Properties > Gallery > Maps query
  2. Scroll down and enable the Support editing
Enter maps query in AppStudio Desktop

Learn more about the Map Viewer template

 

Learn more about AppStudio:

About the authors

Tina Jin is a Product Engineer on ArcGIS AppStudio team.

Chris LeSueur is a Product Manager for the ArcGIS Maps SDKs for Native Apps and ArcGIS Maps SDKs for Game Engines. Chris has over 20yrs experience in the GIS industry working in various positions in Technical Marketing, Competitive Intelligence, and Product Management. As a product manager Chris works to broaden the reach of GIS by improving the native app development experience for mobile, desktop, and games engine developers.

Connect:
0 Comments
Inline Feedbacks
View all comments

Next Article

Drawing a Blank? Understanding Drawing Alerts in ArcGIS Pro

Read this article