ArcGIS AppStudio

What’s new in App Templates for AppStudio 5.4 (June 2022)

With the release of ArcGIS AppStudio version 5.4, we have improved our existing templates by adding exciting new features, enhancements, and bug fixes to help you create cross-platform native apps easier and faster. In this release we have updated all templates to fully support ArcGIS Runtime 100.14 and Qt framework 5.15.6. 

Visit the What’s New post to learn about all the updates in AppStudio 5.4.  

Sidebar  

We are excited to introduce a brand-new Sidebar app template in this release. With the Sidebar template, you can create a map-focused app with full control of the map tools available to the end-user. The name Sidebar comes from the fact that most of the tools will appear in the side panel next to the map when running on a tablet device. But don’t worry, the Sidebar template has an adaptive design so your apps will also look great on smartphones. And the Sidebar template will work offline (disconnected from a network) when you have prepared offline map areas for your web maps. Sidebar is one of the growing numbers of AppStudio app templates that uses an ArcGIS Sidebar Instant app web experience for configuration. 

The following Instant App configurations are currently supported in the AppStudio Sidebar template app: 

Quick Tour of the Sidebar Native app

Editing in Sidebar 

The new data editing tools provide a great native app experience that works on desktops, tablets, and smartphones. The data editing user experience is designed to be intuitive and touch screen friendly. The tools work with points, polylines, and polygon feature layers. You can perform following operations with the edit tools if enabled in the instant app depending on the feature layer ownership and the layer edit settings. 

  1. create new features,  
  2. update or delete existing features.  

Creating new features – Adding new features workflow follows a step-by-step process. The first step is to tap on the add icon (if enabled in the corresponding Instant App) and then choose the type to edit.  The second step is to draw the geometry on the map. After the geometry is completed, the next step is to add attributes data. Optionally, attachments can be added to the newly created feature during this step. Tap on the create button to finish adding the new feature to the map and the corresponding feature service. The complete workflow is demonstrated below: –  

workflow demonstrating how to create a feature

Update or delete existing features – This workflow is tied to the popup (by tapping on the desired feature). If editing is supported the popup will show the edit icon on the popup. That will allow users to choose from 

  1. Edit Attributes – make edits to attributes of the feature or managing attachments 
  2. Edit Geometry –update the geometry of the selected feature 
  3. Delete – Permanently delete the feature. This is an irreversible process, hence caution must be taken when using this workflow

All geometry editing operations include options to undo/redo, discard or apply your edits. Data editing works for feature layer data that is private (requires ArcGIS login) or public (approved for Public Data Collection). 

Editing attributes workflow

Nearby  

The Nearby app template has received exciting new feature updates since the first release. To learn more about updates checkout updates in 5.2 and 5.3 releases. In this release we are adding the following 

Filters support

Filters allow users to filter the query results based on the attributes value and conditions and act as the where clause of the query. These filters are authored in the Instant App. Multiple filters can be created per feature layer and can be used to follow ALL (using the AND operator) or ANY (using the OR operator) conditions when performing query for each layer. This way users can perform both spatial and non-spatial queries to fine tune the results.  

Filters can be predefined or require user input. Predefined filters use the preset value of an attribute or collection of attributes together. User input allows an end user to choose a valid attribute value on the fly. End users can use any combination of one or more filters at any given point.    

For user input filters, the Filter UI is based on the data types of the attribute (fields)  

Tap on the filters icon if enabled in the Instant App and make selections in the UI. See below for an example of how users can engage with filters with the Nearby app. 

Filters for Nearby

Map Viewer  

Layer List

In this release we have overhauled the table of contents to display the layers, group layers and the sub layers within a Tree view UI structure. The table of contents lists all the layers on the map and shows what the features in each layer represent. The map’s table of contents helps you identify the display order of map layers and symbol assignment, as well as set the visibility of each map layer. Thus, allowing end-users to navigate through the multiple levels of the sub-layers and group layers. The layer swatches (symbols) next to the layer name would immensely help users identify the layers on the map. 

 This working experience is same for both the online web maps, offline mobile map packages and offline map areas currently supported in the Map Viewer template application.  

Other improvements within Map Viewer include: 

Showing Layer list (TOC)

Zone Lookup 

Offline support

 

Attachment Viewer 

Sort Field and order

Attachment viewer template app now honors the sort field and sort order of features within a feature layer as configured in the corresponding Instant App. To learn how to configure sort field in Attachment viewer Instant App checkout this blog. 

Once configured the features in the template app will be listed in the same order as configured based on the sorting field. When no sorting field is configured in the Instant App for the feature layer then the features are listed based on the OBJECTID field as default field.  

Popup improvements

The popup UI has been updated to allow users to navigate between previous or the next feature if available without having to close the popup.  

Popup

Try it yourself!

Would you like to try these new features on your mobile device?  You can easily run the Nearby template, Zone Lookup template and other templates using AppStudio Player. Here are the quick steps involved in this process:

  1. Download & install the AppStudio Player on your mobile device as provided here
  2. Run the Player app
  3. Go to the App Settings from the side menu
  4. Turn on “Developer mode” and then go back to the main page of the app
  5. Navigate to the third bottom tab to access samples and templates as shown below

About the author

Lead Product Engineer working with AppStudio for ArcGIS + ArcGIS Companion. Has been working with Esri for 10+ years. Enjoys working with ArcGIS Runtime and Mobile app development while working on real world GIS & spatial challenges.

0 Comments
Inline Feedbacks
View all comments

Next Article

The most common storytelling questions from UC 2022

Read this article