The Zone Lookup template is based on the Zone Lookup web app template from Instant Apps. It provides a native app experience to find a zone or district for a specified location. The location can come from the device or using the user interface to search for an address or select a specific map point.
The requirements for using the Zone Lookup template are as follows:
- Provide one or more Zone Lookup web apps. These can be a single valid item ID, the ID for a group that contains multiple Zone Lookup web apps, or a search query that contains multiple item IDs.
- Zone Lookup web apps can be public or secured. To access a secured web app in your ArcGIS Online organization or ArcGIS Enterprise portal using OAuth2, register your app and provide a client ID. For more information, see Sign your app. By default, only public Zone Lookup web apps appear in the Zone Lookup gallery. To access secured Zone Lookup web apps, click Settings > Licensing > Gallery and provide a client ID.
Customize your app
Once you create your app, you can customize it by changing the app settings.
Start AppStudio and in the side panel click Settings > Properties. The following table lists the contents of the tabs on the Zone Lookup Properties tab, sorted by the tab on which they appear, and their purposes. You can also modify the properties directly in the app's appinfo.json file. If you change any of these properties, click Apply to save them before starting your app again.
Start Screen tab contents
String (image URL)
Image to use for the start page background.
String (color value)
Color to use as the primary color.
Title font file
String (font file URL)
Sets the custom title font to be used throughout the app. This font will be used in headings, page titles, and so on.
Text font file
String (font file URL)
Sets the custom text font to be used throughout the app. This font will be used in descriptions of photos, about text, and so on.
String (email ID)
Email address to which user feedback should be sent.
Shows the disclaimer text as a pop-up in the app. This text is the content from the Access and Use Constraints section of the Details tab.
Gallery tab contents
Zone Lookup web apps
Enter an ArcGIS query to list valid Zone Lookup web apps in the gallery. This can be a single valid item ID of the web app such as id:0b28ef391fe44fc5bc2b0bcd3f5bbbcb or a group ID containing multiple web apps such as group:47597bdf4b6d49fd85c0f4175a6e7b60, or a search query with multiple web app item IDs such as (id:0b28ef391fe44fc5bc2b0bcd3f5bbbcb OR id:6efd8324a57247c79a7ec9a66a9bf581).
Total results to show in gallery
Enter the maximum number of web apps that should be returned from querying the portal.
URL of the Portal to query for Zone Lookup web apps.
Support secured web apps
Provides the ability to sign in to an organization for access to secured web apps per the query parameters.
Skip sign in
If Support secured web apps is set to true, setting this option to true provides the ability to bypass sign in and only show publicly available web apps in the gallery.
Portal sort field
Used to sort web apps shown in the gallery. Possible values include: title, created, type, owner, modified, avgRating, numRatings, numComments, numViews.
Portal sort order
Used in conjunction with gallery sort field to order web apps in ascending or descending. Possible values are asc or desc.