Manage Reviewer rules in a geodatabase

Mit der Data Reviewer-Lizenz verfügbar.

Reviewer rules created in the geodatabase enable automated review of features stored in feature classes and stand-alone tables. Automated review is supported in the following workflows:

  • Constraint—Enforce data integrity during editing workflows by preventing the creation or modification of features that do not meet quality requirements.

  • Validation—Evaluate compliance of existing features with data quality requirements by creating an error record for each noncompliant feature.

You can create and manage Reviewer rules stored in a geodatabase using tools found in 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.

Attribute Rules view

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

Konfigurieren Sie die Ansicht "Attributregeln" mit den Schaltflächen Spalten und Filter. Sie können die sichtbaren Spalten in der Regelliste über die Schaltfläche Spalten ändern. Sie können die Attributregeln auch über die Schaltfläche Filter nach Regeleigenschaften filtern. Der Filter verwendet die sichtbaren Spalten in der Regelliste.

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 chosen 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 rule and 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 validation rule

Complete the following steps to create a validation rule:

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

    Adding attribute rules to a dataset impacts backward compatibility:

    Once attribute rules are added to a dataset, it is incompatible with ArcMap or ArcGIS Pro 2.0 and earlier. See client and geodatabase compatibility for more information on functionality available when using mixed client and geodatabase releases.

    Newer Data Reviewer checks impact what ArcGIS client releases can access the dataset with the attribute rule.

  2. Verify that the data source is supported for the check type and that there is an exclusive lock on the underlying dataset.
  3. Verify that the source data contains a GlobalID column and has editor tracking enabled.
    Tipp:

    If the data doesn’t have global IDs, you can add them with the Add Global IDs tool or you can right-click the data source in the Catalog pane and click Manage > Add Global IDs.

  4. 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 branch versioned database connection using a non-data owner account.

  5. On the Attribute Rules tab, click Ready to Use Rules Einsatzbereite Regeln and click the check from the Validation gallery group required to implement the rule.
    Hinweis:

    The contents of the Ready to Use Rules gallery varies depending on the chosen data source.

  6. In the rule's details pane, in the Attribute Rules view, configure the rule'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 are not stored when saved. Help for rule errors is available by hovering over the row reader.

  7. Optionally, configure the parameters contained in the details pane to facilitate data quality reporting and corrective workflows.
  8. Click Save on the Attribute Rules tab to save your new rules.
    Hinweis:

    ArcGIS Data Reviewer is designed to be backward-compatible with Reviewer rules created using earlier releases. Forward-compatibility is not possible at each ArcGIS Pro release because Reviewer rules continually evolve to support new functionality.

  9. Close the Attribute Rules view to exit rule design or create another rule from the Ready to Use Rules gallery.
  10. Optionally, share your datasets as web feature layers to evaluate the quality of your data.

Create a constraint rule

Complete the following steps to create a constraint rule:

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

    Adding attribute rules to a dataset impacts backward compatibility:

    Once attribute rules are added to a dataset, it is incompatible with ArcMap or ArcGIS Pro 2.0 and earlier. See client and geodatabase compatibility for more information on functionality available when using mixed client and geodatabase releases.

    Newer Data Reviewer checks impact what ArcGIS client releases can access the dataset with the attribute rule.

  2. Verify that the data source is supported for the check type and that there is an exclusive lock on the underlying dataset.
  3. 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 branch versioned database connection using a non-data owner account.

  4. On the Attribute Rules tab, click Ready to Use Rules Einsatzbereite Regeln and click the check from the constraint gallery group.
    Hinweis:

    The contents of the Ready to Use Rules gallery varies depending on the chosen data source.

  5. In the rule's details pane, in the Attribute Rules view, configure the rule'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 are not stored when the project is saved. Help for rule errors is available and can be viewed by hovering over the row header.

  6. Optionally, configure the parameters contained in the details pane to facilitate data quality reporting and corrective workflows.
  7. Click Save Speichern on the Attribute Rules tab to save your new rules.
    Hinweis:

    Data Reviewer is designed to be backward-compatible with Reviewer rules created using earlier releases. Forward-compatibility is not possible at each ArcGIS Pro release because Reviewer rules continually evolve to support new functionality.

  8. Close the Attribute Rules view to exit rule design, or create another rule from the Ready to Use Rules gallery.
  9. Optionally, share your datasets as web feature layers to evaluate the quality of your data.

Modify existing rule properties

Once an attribute rule has been created, certain properties can be modified using tools found in the Attribute Rules view and tab. An exclusive lock on the underlying dataset is required before making changes to an attribute rule.

Learn more about managing geodatabase locks

For validation rules, the following parameters can be modified:

  • Check Parameters (varies by check type)
  • Description
  • Tags
  • Enabled/Disabled state (controlled from Attribute Rules tab group)

For constraint rules, the following parameters can be modified:

Complete the following steps to modify a saved rule:

  • Check Parameters (varies by check type)
  • Triggers
  • Description
  • Tags
  • Enabled/Disabled state (controlled from Attribute Rules tag group)
Voraussetzung:

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, click the rule type (Constraint or Validation) for the rule you want to modify.

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

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

    The Details pane displays the rule parameters.

    Hinweis:

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

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

    Rule parameters that can't be modified are read-only. To modify read-only parameters, create a copy of the rule using the Copy and Paste tools and modify parameters as needed.

  6. Click Save on the Attribute Rules tab to save the updated rules in the geodatabase.
    Hinweis:

    Modifying validation rules that have already been shared require you to stop those services that reference the dataset to avoid a schema lock when saving changes.

    Learn more about sharing datasets with attribute rules

  7. Close the Attribute Rules view to exit rule design or choose another rule to modify.