Validating relationships (Production Mapping)

Relationship classes associate feature and table records with one another. The tables in the relationship are assigned cardinality. The Relationships check searches a relationship class to find violations of the relationship rules based on the conditions you specify.

Learn more about relationship rules

If there is a prescribed relationship that has been set up for the feature class, features that are not part of it are returned as check results.

Once you have defined the criteria for the check, you can configure the notes and a severity rating. The notes allow you to provide a more specific description for the feature that has been written to the Reviewer table and are copied to the Notes field in the Reviewer table. The severity rating allows you to indicate how important the results from a check are in terms of your quality assurance/quality-control processes. The lower the number, the greater the priority the check's results have.

Steps:
  1. Start ArcMap.
  2. On the main menu, click Customize > Toolbars > Data Reviewer.
  3. Click the Select Data Check drop-down arrow on the Data Reviewer toolbar, click the plus sign (+) next to Database Validation Checks, then click Relationships Check.

    The Relationships Check Properties dialog box appears.

    Relationships Check Properties dialog box
  4. If necessary, type a unique name for the check in the Check Title text box.
    NoteNote:

    The check title can be used to describe the conditions you are looking for with the check. This is useful when you have multiple instances of the same check to validate the same feature classes or tables but with different validation parameters.

  5. Click the Relationship Class drop-down arrow and choose the relationship class on which to run the check.
  6. Check the check boxes next to the relationship properties you want to validate.
    • Origin Orphan/Null Keys—Searches for values in the origin key field that do not have a counterpart in the destination and null values in the origin key field
    • Destination Orphan/Null Keys—Searches for values in the destination key field that do not have a counterpart in the origin and null values in the destination key field
    • Verify Cardinality—Searches for records that violate the cardinality rules set for a relationship, such as one to many and one to one
    • Verify Relationship Rules—Searches for any violations of relationship rules, including the three options above
    TipTip:

    To choose all the checks, click Select All.

  7. If necessary, type descriptive text for the check results in the Notes text box in the Reviewer Remarks area.
  8. If necessary, click the Severity drop-down arrow and choose a value that indicates the priority of the check's results in the Reviewer Remarks area.

    The severity indicates the importance of the check result. The values range from 1 to 5, with 1 being the highest priority and 5 being the lowest.

  9. Click the Run Data Check button Run Data Check on the Data Reviewer toolbar.

    The Features to Validate dialog box appears.

    Features to Validate dialog box
  10. Choose an option in the Features to Validate area.
    • Selection Set—The check is run on the features that are currently selected in the map.
    • Current Extent—The check is run on the current map extent, which is controlled by the map scale.
    • Definition Query—The check is run on the features that are displayed based on definition queries that have been created for the feature class.
    • Full Database—The check is run on all the features in the feature class.
  11. To run the check only on features that have been edited in a versioned workspace, check the Changed Features Only check box.
    NoteNote:

    The Changed Features Only option is available only for a versioned database.

  12. Click OK.

    The check is run on the extent specified on the Features to Validate dialog box.

    When the check finishes, a check results dialog box appears.

  13. Do one of the following:
    • If you want to browse the results in the Browse Features window, choose the Browse Results option.
    • If you have started a Reviewer session and want to record the results in the Reviewer table, choose the Write to Reviewer Table option.
  14. Click OK.

Related Topics

6/8/2015