Edit feature services

适用于 Location Referencing 许可。

Map layers published as feature services with branch versioning enabled can be edited by other ArcGIS Pro users in your organization. Editors create versions from the default version, which can be added to maps for editing.

Access to published feature services requires Portal for ArcGIS credentials. Use the following steps to create and switch to a child version.

注:

If your feature service isn't yet published, see Share as web layers with linear referencing and version management.

  1. Sign in to ArcGIS Pro with your portal credentials.
  2. In the Catalog pane, click the Portal tab. Under My Content, right-click the feature service that was published and click Add To New > Map.
    Add a published feature service to a new map.
    注:

    You can also search and add editable feature services that have been shared with you in groups 我的群组 and portals 门户.

    To add a specific layer in a feature service, double-click the service to show all layers present and choose specific layers to add to the map.

  3. In the Contents pane, click List By Data Source 按数据源列出 and click the feature service layer.

    The Versioning tab appears on the ribbon.

    注:

    When a feature service is added to a map, it is added using the default version. Always create a version from the default version before starting any edits.

    Published feature service, default version
  4. Click New Version 新建版本 on the Versioning tab.

    The New Version dialog box appears.

    注:

    With a branch versioned feature service, you can create versions from the default version only, not from a user version. There can be many child branch versions created from the default version, but no grandchild versions.

    Learn more about versioning

  5. Type a name for the new map version in the Name text box.
  6. Optionally, provide a description for the map version in the Description text box.
  7. Click Private, Protected, or Public to set the access level for the map version.
    • Private—Only the owner or the geodatabase administrator can view the version and modify versioned data or the version itself.
    • Protected—Anyone can view the version, but only the owner or the geodatabase administrator can edit datasets in the version or the version itself.
    • Public—Anyone can view the version and anyone who has been granted read or write (update, insert, and delete) permissions on datasets can modify datasets in the version.
  8. Check the Change to this new version check box to switch to the child version when the new version is created.
    提示:

    Check Change to this new version each time you create a version.

  9. Click OK.

    The new version is created, and if Change to this new version was checked, the editor version is shown in the Data Source list.

    Published feature service, editor version
    提示:

    You can also change to a different version by right-clicking the feature service layer in the Data Source list and clicking Change Version.

    Change Version command in the context menu
  10. Ensure that the child version is shown in the Data Source list in the Contents pane before making any edits.

    After creating and switching to a child version, you can work with feature services in your own versions, update the data, and merge your changes back to the default version when finished.

    警告:

    Create a version every time you add a service layer to a map. Data edits made to the default version are permanent. There are no undo, redo, save, or discard options for edits made to the default version.

    One editor per feature service version or multiple readers is allowed. Once an editor begins editing in a feature service version, an exclusive lock is obtained and no other users can connect to that version.

    Feature services with the same version should not be used in multiple maps or ArcGIS Pro projects by the same user.

Now that you have created and switched to a new child version of the shared web layer, you are ready to make your edits.