English

Problem: Unable to add new features to an ArcGIS Server feature service in ArcGIS Online

Description

ArcGIS Online and ArcGIS mobile applications are unable to add new features to an editable feature service. Clicking the map to add a new feature either does nothing or returns an error.

Cause

The feature class sourcing the feature service is z-enabled, but the feature service does not have a default z-value established. Since ArcGIS Online-based applications are 2D applications, they cannot interpolate a z-value unless the new features are snapped to an existing 3D feature. Otherwise, the default z-value is NULL. Since geometric properties cannot be NULL, no new feature is created.

Note:
z-values are elevation values.

To check if the feature class is z-enabled, go to the properties of the feature class in ArcCatalog > General tab. If the 'Coordinates include Z values' check box is checked, the feature class is z-enabled.
This feature class is Z-enabled

[O-Image]

Solution or Workaround

Use one of the following steps to resolve the issue.

  1. In ArcCatalog, create a Publisher or Administrator connection to the service. Right-click the Service > Service Properties. In the Service Editor, click Feature Access, and check the Apply default z-value option. Click OK.
    Service Editor in ArcCatalog

    [O-Image]

  2. In ArcGIS Server Manager, click the Pencil icon next to the service. Click Feature Access, and check the Apply default to features with z-values check box. Click Save and Restart.
    ArcGIS Server Manager

    [O-Image]

  3. Alternatively, if the feature class does not need to be z-enabled, remove the Z capability for the feature class.

Related Information