PROBLEM

The Edit widget in Web AppBuilder for ArcGIS does not honor the Disable Update Geometry option

Last Published: April 25, 2020

Description

The 'Edit' widget in Web AppBuilder for ArcGIS provides editing capabilities to editable layers in a feature service. In some instances, checking the Disable Update Geometry check box when configuring the Edit widget does not disable geometry updates (for example, reshaping or deleting the existing features and creating new geometries in the feature layer.)

Cause

This is a known issue of the Edit widget (BUG-000089543).

Solution or Workaround

Consider using one of the following options to disable any geometry updates in the feature layer before creating the Web AppBuilder for ArcGIS application using the layer.

Uncheck the Create, Delete, or Update operation while publishing the layer

Depending on the editing restrictions applied to the layer in the Web AppBuilder for ArcGIS application, configure the type of operations allowed on the layer while publishing and before the layer is used in the application.

  1. In ArcMap, click File > Share As > Service. Continue through the prompts until the Service Editor window opens.
  2. Select Feature Access on the service.
  3. In the Feature Access details pane, uncheck the Create, Delete, or Update operation under the Operations allowed section depending on the editing restrictions applied to the service.  

    Disabling the Create, Delete, and Update options of the service.

    For more information on feature service operations, refer to the following document, Operations allowed on feature services.
  4. Continue with the next steps to publish the feature service, and use the published feature service to create the application.
Configure the editing permissions at feature layer level

Configure the editing permissions of the hosted feature layer used to create the application to restrict the kind of editing allowed on the feature layer.

  1. In ArcGIS Online, open the item details page of the hosted feature layer.
  2. Click the Settings tab.
  3. Under the Feature Layer (hosted) Settings section, check the Enable editing option.
  4. In the What kind of editing is allowed? section, select the kind of editing allowed on the feature layer. For example, selecting the Update attributes only option restricts editors to entering attribute information only, and does not allow the changing of any existing feature geometry or adding new geometries.  

    Select the Update attributes only option.
     
  5. Click Save. Create the application in Web AppBuilder for ArcGIS using the updated feature layer.

Article ID:000017613

Software:
  • ArcGIS Online
  • ArcGIS Web AppBuilder

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic