Skip to main content

Enable Attribute Rules (Data Management Tools)

Summary

Enables one or more attribute rules in a dataset

Usage

  • New attribute rules are enabled by default upon creation or import, but if you disabled them using the Disable Attribute Rules tool, you can use this tool to re-enable the rules so that they will be enforced again.

  • You can use this tool in conjunction with the Disable Attribute Rules tool to disable and re-enable rules as needed.

  • If you specify both a rule name and a rule type when running this tool, upon execution, the tool will verify that the type of rule specified matches the rule type specified. If they do not match, the rule will not be enabled.

Parameters

Label Explanation Data type

Input Table

The table or feature class that contains the attribute rule to be enabled.

Table View

Rule Names

The names of the rules to enable for the dataset.

String

Type

(Optional)

Specifies the type of attribute rules to enable.

  • Calculation—Filters the Rule Names parameter to display only calculation type rules.

  • Constraint—Filters the Rule Names parameter to display only constraint type rules.

  • Validation—Filters the Rule Names parameter to display only validation type rules.

  • CalculationEnable a calculation rule.

  • ConstraintEnable a constraint rule.

  • ValidationEnable a validation rule.

String

Derived output

Label Explanation Data type

Output Feature Class

The updated input table with an attribute rule enabled.

Table View; Raster Layer; Mosaic Layer

Environments

Current Workspace

Licensing information

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