Configure attribute sets

Available with Location Referencing license.

Attribute sets are a collection of event layer attributes you can use to create multiple events with a set of additional, organization-specific attributes in a single edit.

Attribute sets are created using event features in an LRS-enabled dataset. All point and line event layers included in the map are configurable as attribute sets. Each editable, non-LRS schema field in an event layer can be added to an attribute set. You can create a unique attribute set for characteristic data such as Pavement Type and Speed Limit.

Attribute sets can be published to a feature service and made ready to use for editors. To publish attribute sets to a feature service, you must configure attribute sets with LRS data from an enterprise geodatabase in a map before publishing. When publishing the map, all attribute sets are brought to the feature service along with the data.

Event layers in a feature service can be included in an attribute set.

Configure an attribute set

Attribute sets are helpful when you are adding multiple point events or adding multiple line events in one edit. Preconfiguring and publishing attribute sets to a feature service can benefit editors by reducing their workload and increasing their efficiency.

The enterprise geodatabase administrator can create an attribute set that can be accessed by an editor who will use the Add Multiple Point Events tool Add multiple point events or Add Multiple Line Events tool Add multiple line events. Attributes in an attribute set can be configured with default values.

  1. In ArcGIS Pro, open the map that contains the LRS dataset whose event layers from an enterprise geodatabase will define an attribute set.
  2. Click the Location Referencing tab, and in the Events group, click the Attribute Sets button Configure Attribute Sets.

    The Attribute Sets dialog box appears with the line event default attribute set visible.

    There are attribute sets for both point events and line events that contain events and their attribute fields. These attribute sets are the default values for the current geodatabase administrator. You can designate a different attribute set as the default attribute set after saving at least one custom attribute set. In the following image, all the line event layers in the project are included in the All Line Events attribute set.

    If a field has a default value, it is shown when the attribute set that includes that field is selected on the Attribute Sets dialog box. Double-click a default value in the Value column to change its value. Values that are updated on the Attribute Sets dialog box can overwrite the default value set in the database.

    When one or more layers in an attribute set are not present in the feature service, the warning icon Warning appears next to the name of the attribute set on the Attribute Sets dialog box.

    Attribute Sets dialog box with custom attribute set shown

    To create an attribute set for a point event layer type, click the Layer Type drop-down arrow and choose Point Event.

    Note:

    An attribute set can contain either point events or line events; it cannot contain both.

  3. Click the Attribute Set drop-down arrow and choose Create New Attribute Set to create an attribute set based on the selected layer type.

    The Create New Attribute Set dialog box appears.

    Create New Attribute Set dialog box with default name

    A default name is provided based on the selected layer type.

  4. Optionally, provide a different name for the attribute set.

    For example, type Pavement Type.

    Create New Attribute Set dialog box with user-provided attribute set name
  5. Click OK.

    The newly created attribute set appears on the Attribute Sets dialog box with all of the line event layers in the feature service listed.

  6. Drag any layer of the layer column to the list on the right to define it as part of an attribute set. Alternatively, right-click an event layer on the left and choose Add Selected to add it to the attribute set.
    Attribute Sets dialog box with custom attribute set

    In the image, the Pavement_Type event and other line event layers were added to the attribute set.

    Note:

    Some event attributes are required fields. If you attempt to add attributes from an event layer that includes required fields, the required attributes are automatically added to the attribute set.

    To remove, right-click an event layer in the attribute set and choose Remove Selected to move it back to the available event layers list on the left. Alternatively, drag items from the right side of the dialog box to the left to remove them from the attribute set.

    Remove Selected layer or field
  7. When you are finished adding attributes and providing values in the attribute set, click Save.

    The saved attribute sets are stored in the map.

    Tip:

    To remove an attribute set from the Attribute Sets dialog box, click the remove button next to an attribute set in the drop-down arrow.

  8. To import a shared RHAS file, click Import on the Attribute Sets dialog box.

    The Import dialog box appears and points to the attribute set folder location set in Location Referencing options in ArcGIS Pro by default.

    1. Browse to other locations if the RHAS file is not in the attribute set folder location.
      Note:

      You can specify an alternate attribute set folder location in Location Referencing options in ArcGIS Pro.

    2. Click the RHAS file and click OK to import it to the map.

    Importing an RHAS file automatically saves it as an attribute set in the map.

  9. Optionally, click the Set as default button to make a customized attribute set as the default for the map.
  10. Click Close Close to close the Attribute Sets dialog box.

Attribute sets in a feature service

After attribute sets in the map are published into a feature service, any feature service editor with access to the feature service can directly use any attribute set that is read from the feature service. The editor cannot edit or remove an attribute set that is from the feature service.

  1. In ArcGIS Pro, open an LRS feature service that has published attribute sets in a map.
  2. Click the Location Referencing tab, and in the Events group, click the Attribute Sets button Configure Attribute Sets.

    The Attribute Sets dialog box appears with the line event default attribute set visible.

    Expand the Attribute Set drop-down arrow to view all the available attribute sets in the map.

    • The items in the Attribute Set list are read from the feature service and the attribute set folder location.
    • The attribute sets that are read from the feature service are not removable from the Attribute Sets dialog box and from the feature service. In addition, editors cannot update layers or values and then save the update. This is indicated by the Save button being grayed out.
      Tip:

      To update an attribute set that is read from the feature service, click the Save As button after the update to save the updated attribute set as a new RHAS file. The original attribute set from the feature service remains unchanged.

      To remove an attribute set in the feature service, the enterprise geodatabase administrator needs to remove it from the map that is used for publishing and republish the feature service.

    • The attribute sets that are read from the attribute set folder location are editable. Contributors can save the changes to the original RHAS file or to a new RHAS file.
      Tip:

      To remove an attribute set that is read from the attribute set folder location from the Attribute Sets dialog box, delete the corresponding RHAS file from the attribute set folder location.

    • When one or more layers in an attribute set are not in the map, a warning icon Warning appears next to the name of the attribute set on the Attribute Sets dialog box.
  3. Optionally, click Import on the Attribute Sets dialog box to import a shared RHAS file.

    The Import dialog box appears. You can also browse to other locations if the RHAS file is not available in the attribute set folder location. Select the RHAS file and click OK to import it to the map.

    The imported RHAS file appears in the Attribute Set list but is not saved in the feature service.

  4. Optionally, click the Set as default button to make a customized attribute set as the default for the map.
  5. Click Close Close to close the Attribute Sets dialog box.