Share as web layers

Available with Location Referencing license.

Web maps can be authored from LRS- and Version Management Service-enabled services published using ArcGIS Pro. You can add route network, event, centerline, calibration point, and redline data layers. You can also zoom to the extent, choose a basemap, include a description of the map, and save it for use in the Event Editor web app.

Share as web layers with linear referencing and version management

Version management provides management capabilities for editing feature services such as the following:

  • Creating, modifying, deleting, and switching to a feature service version
  • Reconciling and posting edits from a child version to the default version
  • Undoing, redoing, saving, and discarding individual edits made on a feature service version in an edit session

Version management comparison

Purpose of sharing dataRequired publishing capabilitiesGeodatabase connection type

For multiuser editing scenarios when data is accessed directly from an enterprise geodatabase—also known as traditional versioning

Feature Layer, Linear Referencing

Traditional

For multiuser editing scenarios when data is accessed through feature services with undo and redo capabilities—also known as branch versioning

Feature Layer, Linear Referencing, Version Management

Branch

To perform editing activities using feature services, turn on the version management capability when publishing data.

Prepare data

Sharing web layers with linear referencing capability and version management requires data preparation.

  1. Perform all data loading using ArcGIS Pro before changing the geodatabase connection type and registering as versioned.
  2. Depending on the data, do one of the following:
    • If the data is not versioned, proceed to step 3.
    • If the data is traditionally versioned, unregister each feature class and table as versioned. In ArcGIS Pro, right-click each feature class or table in the Catalog pane and click Manage > Unregister As Versioned.
  3. Right-click the geodatabase in the Catalog pane and click Geodatabase Connection Properties.

    The geodatabase connection must be explicitly set to the branch versioning connection type.

  4. Ensure that all of the data layers in the database have the following:
    • Global IDs, except the locks table.

      If Global IDs are not present, right-click a feature class or table in the Catalog pane and click Manage > Add Global IDs.

    • Editor tracking enabled with UTC time, except the locks table.
    Note:

    Check other requirements before registering data as branch versioned.

  5. Register the following items in the LRS geodatabase as branch versioned:
    • Feature dataset that contains the LRS
    • Minimum schema feature classes
    • LRS Networks
    • Events
    • Intersections
    • Centerline Sequence table
    • LRS_EditLog table
  6. Enable time on the LRS data layers on a layer-by-layer basis or enable time for all LRS layers in a map at once.
    Note:

    Once the data is published, you cannot set time filters for layers.

Publish data

Once you create a new version and edit the data, you can publish the data to your organization's portal as a web layer using the following steps:

  1. Sign in to ArcGIS Pro with your portal credentials.
  2. Create a map in an ArcGIS Pro project, and add the appropriate routes, event layers, calibration points, centerline, and optionally, a redline layer.
  3. To share a web feature layer, do one of the following:
    • Share all usable layers in the map as a web layer. On the Share tab, in the Share As group, click the Web Layer drop-down arrow, and click Publish Web Layer Publish Web Layer.
    • Share selected layers in the map as a web layer. Select the layers in the Contents pane, right-click any selected layer, point to Sharing, and click Share As Web Layer Publish Web Layer.

    The Share As Web Layer pane appears.

  4. Provide a name for the web layer.
  5. Optionally, complete the Summary and Tags fields.

    A summary and tags are required when sharing to an ArcGIS Enterprise 10.9 or earlier portal.

    You can enter a maximum of 128 tags.

  6. Specify how the web layer will be shared:
    • Everyone—Share your content with the public. Anyone can access and see it.
    • My Organization—Share your content with all authenticated users in your organization. This option is available when you are signed in with an organizational account.
    • Groups—Share your content with groups to which you belong and their members.
    Note:

    The Share with options vary when sharing to ArcGIS Enterprise.

    General tab in the Share As Web Layer pane
  7. Click the Configuration tab.
  8. On the Configuration tab, in the Capabilities section, check the Linear Referencing and Version Management check boxes.
    Configuration tab with Linear Referencing and Version Management checked
  9. Click Analyze to check for errors and issues. You must resolve all errors before you can complete the publishing process.
    Note:

    Analyzers are used to validate the branch-versioned dataset when publishing as a feature service. The following conditions apply:

    Note:

    Disregard the warning messages about the layer data source being z-aware or m-aware.

    • ArcGIS Server 10.6 or later instances are supported.
    • If Version Management is enabled under Capabilities, all layers must be of the same registration type.
    • All data must belong to a branch workspace.
    • All data must be published from the default version.
    • The connected geodatabase user must be the owner of the data.
    • Definition queries must not be present.
    • All fields must be visible.
    • All event layers in configured attribute sets, if any, must be present in the map.
  10. Once validated, click Publish to share the web layer.

The layers are published as a feature service with linear referencing and version management capability. ArcGIS Pro users with portal credentials can now create child versions of the feature service and start editing.