PROBLEM

Web maps do not display automatically in ArcGIS Collector

Last Published: October 27, 2020

Description

Web maps do not display automatically in the Maps list in ArcGIS Collector upon launching the application when the editing function is enabled in ArcGIS Online.

Cause

The web maps in ArcGIS Online are not saved after changes are made to the feature service capabilities.

Web maps are tied to their own JSON properties and not the hosted feature layer properties. Any changes made to the hosted feature layer properties are not reflected directly in the web maps, unless the JSON file of the web maps are updated.

Solution or Workaround

Select one of the options to resolve the issue:

Save the web maps again after enabling the editing function in ArcGIS Online

  1. Log in to ArcGIS Online.
  2. Navigate to the desired hosted feature layer, and select View item details.
  3. Click the Settings tab.
  4. Make the desired changes to the feature service capabilities, and click Save. This is to ensure the Use in ArcGIS Collector option can be viewed.

By saving the web maps again, the JSON file is updated to include the Data Editing and Collector typeKeywords to display the web maps in ArcGIS Collector.

Use in ArcGIS Collector option.

Manually add Collector and Data Editing in the typeKeywords parameter in the JSON file

Warning:   
The following instructions make changes to the contents of the item, and potentially contain some risks of corrupting the content, or losing access to the items.
Note: 
ArcGIS Online Assistant is not within Esri Tech Support Services' scope of support. Users are advised to proceed cautiously, and at their own risk.
  1. Open ArcGIS Online Assistant, and log in through ArcGIS Online or Portal for ArcGIS.
  2. Click the I want to... drop-down list, and select View an Item's JSON.
Image of theI want to... drop-down list
  1. Select the desired web map to view the Description window for the scripting.
  2. Click the Edit JSON icon, and add Collector and Data Editing in the typeKeywords parameter, as shown below. Click the Save icon.
"typeKeywords": [
        "Collector",
        "Data Editing",
        "Explorer Web Map",
        "Map",
        "Offline",
        "Online Map",
        "Web Map"

The following image is the example of how the keywords are added in the scripting.

Image of the example of how the keywords are added in the scripting
Note:
Alternatively, use the Update Item operation to update the typeKeywords parameter of the web map. Refer to ArcGIS REST API: Update Item for more information.
 

Article ID: 000023861

Software:
  • ArcGIS REST API
  • ArcGIS Online
  • ArcGIS API for Python 1 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options