ArcGIS Desktop

  • 文档
  • 支持

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS for Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Validating attributes using a batch job

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. If necessary, load data in the map.
  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.

    注:

    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.

    提示:

    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. 单击确定。
  9. Change attributes for a template or selected feature.
  10. 单击应用。

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

相关主题

  • Disabling attribute validation
  • Associating batch jobs with a data model version
  • 批处理作业和产品库

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS 平台

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • 内部人员博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
© Copyright 2016 Environmental Systems Research Institute, Inc. | 隐私政策 | 法律声明