Skip To Content

Create Reviewer rules in a geodatabase

Mit der Data Reviewer-Lizenz verf├╝gbar.

Reviewer rules created in your geodatabase enable you to enforce data integrity while creating and editing data. These workflows are supported by the Constraint rule type.

To ensure quality assurance in the GIS, constraint rules control data entry by user-defined requirements. This prevents invalid data entry during edit operations to ensure data integrity. Constraint rules can be created on datasets in a file or enterprise geodatabase.

These rules are created using the Attribute Rules view and tab. The Attribute Rules view contains a list of rules configured for a specific geodatabase feature class or stand-alone table.

Navigational sections

When opening the Attribute Rules view, you can view a data source's rules by clicking the Constraint tab. Existing rules are displayed on each tab with each row representing an individual rule. When you select a rule, the rule properties appear in the details pane on the right side of the view.

The visible columns in the rule list can be modified using the Columns button. Attribute rules can also be filtered using the Filter button with rule properties. The filter uses the visible columns in the rule list.

Navigational sections of the Attribute Rules view

1

Tabs are used to switch between the Calculation, Constraint, and Validation rule types.

2

Rules are listed in the grid section of the view. The columns can be customized to show more or less detail for each rule.

3

The details pane includes the properties of the selected rule from the grid and is also used to enter properties during the creation of rules.

The rule's details pane, in the Attribute Rules view, displays input parameters for the check and will vary depending on the type of check used to implement the rule. Each of these parameters has pop-up help that you can view by hovering over the information icon Informationen next to the parameter.

Attribute rules details panel

1

Attribute rules details pane

2

Rule and check type

The Attribute Rules tab contains tools for creating and managing attribute rules. The tab is automatically displayed when the Attribute Rules view is active.

Attribute Rules tab

1

Attribute Rules tab

2

Ready to Use Rules, which contain Reviewer checks

3

Rule management tools

Create a constraint rule

Complete the following steps to create a constraint rule:

  1. In the Catalog pane, expand the enterprise geodatabase connection that contains features that require automated validation.
    Hinweis:

    Attribute rules are currently only supported on datasets in an enterprise geodatabase. The minimum client version required to access a dataset with attribute rules is ArcGIS Pro 2.1.

  2. Right-click a feature class or a stand-alone table and click Design > Attribute Rules.

    The Attribute Rules view and tab appear.

    Hinweis:

    The view is read-only when accessed from a web feature layer or a database connection using a non-data owner user account.

  3. On the Attribute Rules tab, click Ready to Use Rules Einsatzbereite Regeln and click the check required to implement the rule.
  4. In the check's details pane, in the Attribute Rules view, configure the check's required parameters, indicated by a red asterisk next to the parameter name. When all required parameters contain valid values, the rule is ready for use.
    Hinweis:

    Rules highlighted in red are invalid and will not be stored when the project is saved. Help for rule errors is available and can be viewed by hovering over the row header.

  5. Optionally configure the parameters contained in the Details section to facilitate data quality reporting and corrective workflows.
  6. Click Save Speichern on the Attribute Rules tab to save your new rules in the geodatabase.
  7. Close the Attribute Rules view to exit rule design, or create another rule from the Ready to Use Rules gallery.

Modify a saved rule

Before you modify an existing a saved rule, ensure that there is an exclusive lock on the underlying dataset. This means that no connections or services can be accessing the dataset.

For constraint rules, the following parameters can be modified:

  • Check Parameters
  • Triggers
  • Description
  • Tags

Complete the following steps to modify a saved rule:

  1. In the Catalog pane, expand the enterprise geodatabase connection that contains features that contain rules which require update.
  2. Right-click a feature class or a stand-alone table and click Design > Attribute Rules.

    The Attribute Rules view and tab appear.

  3. On the Attribute Rules view, select the rule type (Constraint, Validation) for the rule you want to modify.

    The Attribute Rules view updates to display the selected rule type.

  4. Select the rule that you want to modify by clicking the specific row.

    The details pane displays the rule parameters.

    Hinweis:

    Rules created in previous releases may be upgraded automatically to address functionality or performance issues. An upgraded rule is highlighted in green with a tool-tip indicating that it has been modified.

  5. In the details pane, update parameters as needed.
    Tipp:

    Rule parameters that cannot be modified are read only. To modify read only parameters, use the copy and paste tools to create a copy of the rule and modify those parameters as needed.

  6. Click Save on the Attribute Rules tab to save the updated rules in the geodatabase.
  7. Close the Attribute Rules view to exit rule design or select another rule to modify.