In Create a map for data collection in Field Maps, you created a map that allows you to capture information about your local park. Now, you’ll configure the map’s form and feature templates using the ArcGIS Field Maps web app.
You’ll use the Field Maps web app to complete the following tasks:
- Edit the map title, summary, and thumbnail
- Configure feature templates
- Author the form
For this exercise, you’ll configure the form to capture paint assessment data for amenities within a park. To follow along, add the following fields to the Places layer:
Create a list for the
needs_paint field and add the following choices:
Edit the map title, summary, and thumbnail
The Field Maps web app allows you to edit the title, summary, and thumbnail of your map. Edit this information so the map is identifiable in the Field Maps mobile app.
In a browser, sign in to your ArcGIS Online organization. In the app launcher, click Field Maps.
The Maps page opens, displaying maps you own. Click the Parks_Map card to configure the map you created in the previous blog post. The Overview page opens, displaying information about the map.
Click Edit and provide a title and summary specific to the project. For example:
- Title: Parks Paint Assessment
- Summary: This map is used for assessing the paint on park amenities.
If you have an image of the park you want to use as the thumbnail, hover over the default thumbnail for the map and click Change Thumbnail. Click Save.
Configure feature templates
Configure the feature templates as they’ll appear in the mobile app. You can edit their description, default values, and order. Click Content to open the Content page. This page shows all the items in your map. Under Editable layers, click the Places layer. The feature templates you created in the previous blog post appear.
Tip: To familiarize yourself with the Content page interface, see Web app quick reference.
Select the Bike rack feature template. The Properties pane opens, allowing you to format the feature template and set default values. Default values can be used to ensure consistency during data collection. For example, if your park contains blue bike racks, set the default value for the paint color field to blue.
Click Save. Now, if you use the bike rack feature template to capture a new point, the paint color field is automatically set to blue.
Reorder the feature templates as you want them to appear in the mobile app, placing more commonly used templates at the top of the list. Since the map is being configured for paint assessments, move the Tree feature type and template to the bottom of the list. You can move feature templates by dragging them or by using the arrow keys.
Configure the form
Configure the form used in the field to collect paint assessments. You’ll configure the form title, the order of entries, and how the entries display in the Field Maps mobile app. On the Contents page, make sure the Places layer is selected and click Form. The Form builder opens with a blank canvas. The Form builder includes the elements and attributes you can add to the form.
In the Attributes list, click Add all, to add all of the layer’s attributes as entries on the form.
Provide a form title specific to the project. Click Edit and change the form title to Amenity Paint Assessment.
Now you’ll format the attributes so they provide helpful information when using the form in the Field Maps mobile app. Select the needs paint attribute to open its Formatting options and edit the following:
- Display name—Change the display name so it asks a question, such as: Does the amenity need to be painted?
- Required—Check the Required check box. This prevents the form from being submitted if the entry isn’t filled out.
Select the paint time attribute to open its Formatting options and edit the following:
- Display name—Change the display name to Estimated paint time.
- Hint text—Add hint text to provide additional information about the data being collected. Hint text appears if an entry is blank in the mobile app. For this entry, type In hours.
Select the paint notes attribute to open its Formatting options and edit the following:
- Input type—Change the Input type to Text area so you can type multiple lines of text for this entry in the mobile app.
Finally, you’ll use a Group form element to group the paint entries together. In Form elements, click Group to add a group to the form (you can also drag it onto the form). Drag the Paint color, Estimated paint time, and Paint notes entries into the group. Select the group and change the Display name to Paint Information.
Click Save. The form should look like the image below.
To learn more ways to configure the form, such as creating conditional visibility statements, see Configure the form.
View the templates and form in the mobile app
Once you’ve saved your form and feature templates, view them in the Field Maps mobile app. In the mobile app, open the Parks Paint Assessment and tap Add to begin collecting data. Notice that the feature templates are in the order you configured in the web app. Tap the Bike rack feature template. The form opens and includes the formatting you configured in the web app.
This blog post covers a fraction of the capabilities included in the Field Maps web app. To learn more, see Configure the map. To learn how to collect data in the Field Maps mobile app, see the Try data collection in Field Maps blog post.