Skip to main content

Generate Update Related Attribute Rule (Data Management Tools)

Summary

Generates an attribute rule that updates related records in other classes when updates are made to an input table. This can be based on one or more of the following: utility network associations, relationship classes, match fields, and spatial relationships.

Usage

  • After the tool has been run, import the attribute rule and apply it to the dataset. If the dataset is in an enterprise geodatabase, you must be the data owner to apply the output template attribute rule.

    Learn more about importing attribute rules

  • If the Input Table parameter value or the Search Options parameter's Target Layer value is not a utility network class or table, the Search Type value cannot be a utility network association type.

  • If the Input Table parameter value or the Search Options parameter's Target Layer value is a table, the Search Type value cannot be Spatial Only.

  • If the Input Table parameter value and the Search Options parameter's Target Layer value do not participate in a relationship class with each other, the Search Type value cannot be Relationship Class.

Parameters

Label Explanation Data type

Input Table

The table or feature class that will have the new rule applied.

Table View

Output Folder

The folder where the output will be saved.

Folder

Search Options

Updates a related value in the target layer using either a utility network association, relationship class, match fields, or spatial relationship between the input class and any target classes.

Value table columns:

  • Target LayerThe layer to which the search option will be applied.

  • Target FieldThe field in the target layer that will be updated by the attribute rule.

  • Search TypeThe search type that will be applied to the input table and target table.

    • Relationship ClassA related value in the target class will be updated using a relationship class between the input class and any target classes.

    • Match FieldsA field in the target classes will be updated based on updates to a field in the input class based on a match field (primary or foreign key relationship).

    • Spatial OnlyA field in a target layer will be updated based on the intersection between features from the input class and any output classes.

    • Connected (UN Association)The features connected to the specified feature through a connectivity association will be returned.

    • Container (UN Association)The features containing the specified feature through a containment association will be returned.

    • Content (UN Association)The features containing the specified feature through a containment association will be returned.

    • Structure (UN Association)The feature that the specified feature is attached to through a structural attachment association will be returned.

    • Attached (UN Association)The features attached to the specified feature through a structural attachment association will be returned.

    • Junction Edge (UN Association)The features connected to the specified feature through a junction-edge connectivity association will be returned.

    • Midspan (UN Association)The features connected to the specified feature through a junction-edge midspan connectivity association will be returned.

  • Input Field or ValueThe field or value that will be edited in the input class.

  • OperatorThe method that will be used to relate the target and input fields.

    • Set ValueThe value in the target field will be updated with the value from the input field.

    • ConcatenateThe existing value in the target field will be updated by concatenating with the value in the source field. By default, the values will concatenated with a hyphen (-) character.

    • Bitwise OrA bitwise operation will be performed on the existing value in the target field with the incoming value from the source field. Both the source and target fields must be numeric.

  • Search DistanceThe maximum distance from an input feature that a target feature can be. Only features within this distance will be updated.

  • Target Match FieldsThe foreign key field from the target class that links to the Input Match Field value in the input class.

  • Input Match FieldsThe primary key field from the source class that links to the Target Match Field value in the target class.

Value Table

Expression

An SQL expression that will be used to limit the features from the input that will participate in the attribute rule.

SQL Expression

Derived output

Label Explanation Data type

Output CSV File

The output .csv file containing the template attribute rule.

File

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes