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 in an enterprise geodatabase and save them into the map before publishing. Learn more about Map CIM. When publishing the map, all attribute sets are brought to service along with the data in the map.

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 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 Set 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 Set dialog box, click the remove button next to an attribute set in the drop-down menu.

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

    This opens the Attribute Set Folder Location.

    1. Browse to other locations if the attribute set RHAS file is not in the default location.
    2. Click the attribute set RHAS file and click OK to import it to the map.

    Importing an attribute set 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 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 service, any feature service editor with access to the service can directly use any attribute set that is read from the service. The editor cannot edit or remove an attribute set that is from the 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 Sets drop-down menu to view all the available attribute sets in the map.

    • A list of Attribute Sets that are read from the service and read from the Attribute Set Folder Location.
    • The attribute sets that are read from the service are not removable from the Attribute Set dialog box and from the service. In addition, editors cannot update layers or values and then save the update. This is indicated by the unavailable Save button.
      Tip:

      To update an attribute set that is read from the service and use the updated attribute set to add events, click the Save As button after the update. This will save the updated attribute set as an RHAS file in the specified Attribute Set Folder Location. The original attribute set from the service remains unchanged.

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

    • The attribute sets that are read from the Attribute Set Folder Location are editable. Editors can update event layers and values in these RHAS attribute sets and save the update to the original RHAS file.
      Tip:

      The editor can also save the updated RHAS attribute set as a new RHAS attribute set.

      To remove an RHAS attribute set from the Attribute Set dialog box, delete it from the Attribute Set Folder Location.

    • When one or more layers in an attribute set are not present in the map, the warning icon Warning appears next to the name of the attribute set on the Attribute Sets dialog box.
  3. To import a shared attribute set RHAS file, click Import on the Attribute Set dialog box. This opens the Attribute Set Folder Location. You can also browse to other locations if the attribute set RHAS file is not available in the default location. Click the attribute set RHAS file and click OK to import it to the map.

    The imported attribute set RHAS file will appear in the Attribute Sets drop-down menu but will not be saved in the service.

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