Skip To Content

Edit widget

This widget provides editing capabilities using an editable layer in a feature service. It displays a gallery of templates from one or more feature layers. On the map, you can pick a symbol on the template to create a feature with the associated attribute inspector, or select an existing feature to update its geometry and attributes. If the feature layer supports attachments, the attribute inspector includes the ability to create, view, and delete attachments. Optionally, you can enable the toolbar for advanced feature editing.

Tip:

To use the Edit widget, the map you select in the Map tab must contain editable layers.

Configure the Edit widget

The Edit widget can be set to open automatically when apps start. To do so, click the yellow dot on the widget to turn it to green.

  1. Click the edit icon Edit icon to open the widget configuration window.
  2. Check Toolbar Visible to display the editing toolbar. The editing toolbar allows you to select features, clear selection, and delete features (by selection).
  3. Check Merge, Cut, or Reshape to individually allow these geometry modifying operations via the editing toolbar.
  4. Caution:
    The Merge tool does not support points or polylines. Currently it only works on polygons.
  5. Check Enable Undo/Redo to enable the undo/redo capabilities of the edit widget. This allows you to revert and reapply changes in order.
  6. Check Editable beside a layer to enable editing on that particular layer.
  7. If you want to disable updates to the feature's geometry, check Disable Update Geometry.
    Geometry update and fields options
  8. Click the pencil button under Fields to select display and editable fields. By default, the widget carries over these attributes configured in the map.
  9. Click OK to close the dialog box and apply your changes.

Use the Edit widget

Open the Edit widget to display the template picker. If the layer you want to edit does not show in the template picker, make sure that Editable is checked for the layer in the configuration and the layer is visible on the map.

Tip:

You can also open the Edit widget in the app directly through the Pop-up window.

  1. To add a feature, click its symbol in the template, and click to add or draw it on the map.
    Edit template and tool bar
    1. Once you've added the feature, a pop-up appears.
      Attribute inspector
    2. Enter information into the available fields. The fields vary, based on the editable attribute fields in the feature service and the configuration of the editable layer.
    3. To attach an image or other files with a feature (when available), click Browse in the Attachments section of the pop-up, and choose the file from your computer.
  2. To edit a feature, click it on the map to open its pop-up and edit the information.
  3. To remove a feature, click it on the map to open its pop-up and click Delete.

    Optionally, you can use the toolbar to edit the feature.