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. Die sichtbaren Spalten in der Regelliste können mit der Schaltfläche Spalten geändert werden. Attributregeln können auch mit der Schaltfläche Filter nach Regeleigenschaften gefiltert werden. Der Filter verwendet die sichtbaren Spalten in der Regelliste.
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 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 next to the parameter.
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.
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:
- In the Catalog pane, expand the enterprise geodatabase connection that contains features that require automated validation.
Hinweis:
Validation rules are only supported on branch versioned datasets stored in an enterprise geodatabase. Datasets with Attribute Rules can't be used by ArcGIS Pro 2.1 or ArcMap clients.
- Verify that the data source is supported for the check type and that there is an exclusive lock on the underlying dataset.
- 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 nondata owner account.
- On the Attribute Rules tab, click Ready to Use Rules and click the check from the Validation gallery group required to implement the rule.
Hinweis:
The contents of the Ready to Use Rules gallery will vary depending on the chosen data source.
- 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 will not be stored when saved. Help for rule errors is available by hovering over the row reader.
- Optionally configure the parameters contained in the details pane to facilitate data quality reporting and corrective workflows.
- 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.
- Close the Attribute Rules view to exit rule design or create another rule from the Ready to Use Rules gallery.
- After creating your validation rules, 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:
- In the Catalog pane, expand the geodatabase connection that contains features that require automated validation.
Hinweis:
Datasets with attribute rules can't be used by ArcGIS Pro 2.1 or ArcMap clients.
- Verify that the data source is supported for the check type and that there is an exclusive lock on the underlying dataset.
- 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 nondata owner account.
- On the Attribute Rules tab, click Ready to Use Rules and click the check from the constraint gallery group.
Hinweis:
The contents of the Ready to Use Rules gallery will vary depending on the chosen data source.
- 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 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.
- Optionally configure the parameters contained in the details pane to facilitate data quality reporting and corrective workflows.
- Click Save 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.
- Close the Attribute Rules view to exit rule design, or create another rule from the Ready to Use Rules gallery.
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)
Complete the following steps to modify a saved rule:
- In the Catalog pane, expand the enterprise geodatabase connection that contains features that contain rules which require update.
- Right-click a feature class or a stand-alone table and click Design > Attribute Rules.
The Attribute Rules view and tab appear.
- 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.
- Choose 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 ToolTip indicating that it has been modified.
- 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.
- Click Save on the Attribute Rules tab to save the updated rules in the geodatabase.
Hinweis:
Modifying validation rules that have already been shared will require you to stop those services that reference the dataset to avoid a schema lock when saving changes.
- Close the Attribute Rules view to exit rule design or choose another rule to modify.