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 DOT class, MAOP, and Test Pressure Range.
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.
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 or Add Multiple Line Events tool . Attributes in an attribute set can be configured with default values.
- In ArcGIS Pro, open the map that contains the LRS dataset whose event layers from an enterprise geodatabase will define an attribute set.
- Click the Location Referencing tab, and in the Events group, click the Attribute Sets button .
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 map, the warning icon appears next to the name of the attribute set on the Attribute Sets dialog box.
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.
- 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.
A default name is provided based on the selected layer type.
- Optionally, provide a different name for the attribute set.
For example, type Integrity.
- 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.
- 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.
In the image, all the attributes from the Consequence Segment event layer 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.
- 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.
- To import a shared attribute set RHAS file, click Import on the Attribute Set dialog box.
This opens the Attribute Set Folder Location.
- Browse to other locations if the attribute set RHAS file is not in the default location.
- 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.
- Optionally, click the Set as default button to make a customized attribute set the default for the map.
- Click 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.
- In ArcGIS Pro, open an LRS feature service that has published attribute sets in a map.
- Click the Location Referencing tab, and in the Events group, click the Attribute Sets button .
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. Contributors 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 appears next to the name of the attribute set on the Attribute Sets dialog box.
- 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.
- Optionally, click the Set as default button to make a customized attribute set the default for the map.
- Click Close to close the Attribute Sets dialog box.