ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Validating attributes using a batch job

Available with Production Mapping license.

With the Feature Manager, it is possible to validate the values you assign to attributes for selected features or a feature template. This allows you to ensure that there are no invalid combinations of values assigned to a template or a selected feature before applying the values to the database.

Attribute validation using a Reviewer batch job runs a series of data checks on the features when you change an attribute value on the Create Attributes or Update Attributes window. Any combination of the following checks can be included in the batch job:

  • Regular Expression check
  • Execute SQL check
  • Domain check
  • Subtype check

To use a batch job to validate attributes, an attribute batch job must be associated with the data being edited. This is usually based on the product specification, or data model version, to which your data conforms.

When you associate an attribute batch job with a data model version, you can select the severity of the checks that will be returned as an error. When an error is returned, you must fix the error before the change will be committed to the feature or used by the template. If a warning is returned, the change will be committed, but it is recommended that you correct the issue if you can.

Learn more about batch jobs

When you run validation, you can choose when batch jobs are run. While you may have multiple batch jobs defined for your data, you can choose to run only a subset of these batch jobs as you are editing features. This can be done through the shortcut menu on the Create Attribute or Update Attributes window.

Learn more about associating a batch job with a data model version

If you do not have a batch job configured for validation, the attribute combination displayed on the Create Attributes or Update Attributes window is validated against your geodatabase rules.

  1. Start ArcMap.
  2. Load data in the map if necessary.
  3. On the main menu, click Customize > Toolbars > Production Editing.
  4. Click the Production Start Editing button Production Start Editing on the Production Editing toolbar.

    Note:

    The Manage Features and Create Attributes, Update Attributes, or Metadata Attributes windows automatically appear when you start an edit session using the Production Start Editing tool.

    Tip:

    If the Create Attributes, Update Attributes, or Metadata Attributes window does not appear when you start an edit session, click the Show/Hide Attributes button Show/Hide Attributes on the Manage Features window.

  5. Right-click in the Create Attributes or Update Attributes, window, then point to Enable Validation and ensure that a check mark appears next to Enable.
  6. Right-click in the Create Attributes or Update Attributes, window, then click Enable Validation > Select Batch Jobs.

    The Select Batch Job(s) dialog box appears with any batch jobs you have associated with the data model version that have a type of Attribute.

    By default, all the batch jobs are checked.

  7. If necessary, uncheck the check box next to the name of the batch job you do not want to run when attributes are changed.
  8. Click OK.
  9. Change attributes for a template or selected feature.
  10. Click Apply.

The new attributes are validated using the specified Reviewer batch jobs.

Related topics

  • Disabling attribute validation
  • Associating batch jobs with a data model version
  • Batch jobs and the product library

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal