How To: Edit feature services from ArcGIS Server 10.5.x that have m-values in Collector for ArcGIS
M-values are a geometry property of spatial data that are used to store route data. Certain clients block editing features that have m-values so that the existing m-values do not get lost when editing the geometry of these features. This presents a challenge in using Collector for ArcGIS, as it is not possible to edit these features.
Please note that there is an existing enhancement request marked as "In Product Plan" for this functionality.
Check whether the ArcGIS Server feature service has m-values:
Go to the REST endpoint of the feature service. Example:
Click a specific layer in the feature service. Example:
Look for the HasM property. If this is true, the feature service has m-values. If this is false, then the feature service does not have m-values. Example:
Check whether the data has m-values by using the following method:
Browse to the location of the feature class in ArcCatalog. Right-click the feature class, and click Properties. On the General tab, the Geometry Properties section lists whether the features have M- or Z-values Example:
The following documentation explains the workflows for using the
Allow geometry updates without m-value
Configure editable feature services that contain m-enabled layers
There are two workflows described below, depending on whether this property is enabled while publishing the feature service, or after the feature service is already published.
Enabling the property while publishing
Click File > Share As > Service. Continue through the prompts until the Service Editor window opens. Select Feature Access on the service. In the Feature Access details pane, check the box next to Allow geometry updates without m-value.
Example: Enabling the property on an existing ArcGIS Enterprise 10.5.1 feature service
Open ArcGIS Server Manager and log in as the owner of the feature service or as the ArcGIS Server administrator. Click Services > Manage Services. In the Services module, click the name of the feature service to insert NaN m-values when the client doesn't supply one. In the Edit module, click Capabilities. Click the Feature Access option (the name, not the check box) under the Select and configure capabilities window. This displays the feature service properties. Check the Allow geometry updates without m-value check box.
Click Save and Restart to apply the changes to the service.
To remove m-values entirely, this can be achieved with the following workflow: How To: Remove Z- and/or M-values from a feature class
Is This Content Helpful?