Apps

What’s new in App Templates for AppStudio 5.2 (November 2021)

With the release of ArcGIS AppStudio version 5.2, 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.12 and Qt framework 5.15.6.

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

Nearby

The Nearby template was introduced in AppStudio templates with the 5.1 release. The Nearby is ideal for quickly finding what’s near a location or address. The app template allows users to query points of interest from one or more layers within the map, the query is based on a specified distance form a chosen location. In this release, we have enhanced the app with new features based on the configurations supported in the Nearby Instant App. These enhancements provide the user a better native app experience and improves consistency with the Nearby web app. Here are the newly supported configurations and functionalities:

 

Workflow to find the nearby POI's from current device location
Demonstrating Elevation profile for a polyline feature

 

 

Demonstrating offline workflow in Nearby native app

 

Direction options available within the popup

Zone Lookup

Like the Nearby template, the app template has received exciting new feature updates.

  1. Limit locations returned by a polygon selection – Users will now be able to filter the query results based on the selected polygon feature layer as configured in the Zone lookup Instant App configuration. This will refine results by using a polygon layer as the search boundary. Only results within the searched polygon will be returned.
  2. Allow feature attachments to view within popup – Similar to Nearby template app, you will be able to view the attachments directly within the popup as mentioned above.

 

Map Viewer

Basemaps group ID

In this release a new “Basemaps group ID” property has been added to the Map Viewer template. This allows the app author to specify a group in their ArcGIS Organization or Enterprise which contains collection of map layers.  All the map layers listed in the defined group will be available as basemap in the Map Viewer app when using the basemap switcher tool. If the basemap is secured, it would require users to sign-in to the configured portal with the appropriate credentials to access that item.

This property is optional, meaning if no ID is provided then the default basemaps from ArcGIS organization will be available in the basemap switcher tool.

You can configure your preferred bbasemaps group ID using the following property as shown below

Map Viewer settings to configure basemaps group ID

Other improvements within Map Viewer include:

Attachment Viewer

Option to perform attribute editing within the app

Similar to the Map Viewer editing capability, the Attachment Viewer now allow users to perform attribute editing of features within the app. The editing attribute capability is available within the popup if the layer supports editing, and the current user has signed-in to ArcGIS Online or ArcGIS Enterprise as a named user with data editing privileges.  To learn more about the ArcGIS Runtime license levels using the named user or Runtime license key please refer here.

If the layer doesn’t support editing or the current user doesn’t have the appropriate license, the popup will appear in the read-only mode. Here is a working example of performing attribute editing using the Attachment Viewer popup.

Editing Attributes within Attachment Viewer

Other improvements within Attachment Viewer include:

 

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 from the Apple App Store or Google Play Store
  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
Demonstrating the Templates available through Player

Bug fixes across various templates

For more information about specific bug fixes and additional details about this release, please see the what’s new in AppStudio online documentation and this ArcGIS Blog post.

We hope you like the new features and enhancements added to this release. Please provide any feedback and suggestion to appstudiofeedback@esri.com or leave your comment on GeoNet.

Become an AppStudio for ArcGIS developer! Watch this video on how to sign up for a free trial.

Follow us on Twitter @AppStudioArcGIS to keep up-to-date on the latest information and let us know about your creations built using AppStudio to be featured in the AppStudio Showcase.

The AppStudio team periodically hosts workshops and webinars; please click on this link to leave your email if you are interested in information regarding AppStudio events.

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

Five ways Arcade enhances maps: American Community Survey example

Read this article