This item has been moved to mature support.

Validation

The Value Method field in the DynamicValue table defines the actions that occur when the Attribute Assistant is enabled and features are modified or created in ArcMap. Four fields in the DynamicValue table (Value Method, Table Name, Field Name, and Value Info) must be configured to use an Attribute Assistant method. The remaining fields define when the Attribute Assistant method should be applied.

The following five Attribute Assistant methods can be configured in your DynamicValue table:

Method Description
Minimum Length Rejects a newly created line feature if the length of the line is less than the specified distance.
Validate Attribute Lookup Verifies field values against entries in a lookup table.
Validate Attributes Compares values in the input fields to all feature templates for the feature class.
Validate Connectivity Validates the number of connections on a feature and rejects the edits if the criteria are not met.
Validate Domain Validates data entry on field with domains against the domain. If the value is outside the range or not in the coded value list, the edit is aborted.

Minimum Length

Rejects a newly created line feature if the length of the line is less than the specified distance.

To configure this method, populate the following in the DynamicValue table:

Table Name Field Name Value Method Value Info
Feature class Blank or null MINIMUM_LENGTH Length

This rule can only be configured on linear features and the length value must be populated in Floating or Double fields.

Parameters

The method parameters are as follows:

Parameter Value Description
Length Numeric Minimum length of line

Examples

Rejects new features in the streets layer that are less than 5 units long:

  • Table Name: streets
  • Field Name: <Null>
  • Value Info: 5


Validate Attribute Lookup

Verifies field values against entries in a lookup table.

To configure this method, populate the following in the DynamicValue table:

Table Name Field Name Value Method Value Info
Table or feature class Field or fields to monitor VALIDATE_ATTRIBUTE_LOOKUP Source|Field

This rule can be configured on any field type.

Parameters

The method parameters are as follows:

Parameter Value Description
Source Table, layer, or feature class Lookup table.
Field Field name Field name in the lookup table. List multiple fields in the format field1,field2,etc.

Examples

Monitors the NAME and MUNIC fields in the streets layer for changes and verifies that the new values exist in the FULLNAME and MUNICIPALITY fields, respectively, in the MasterStreetName table:

  • Table Name: streets
  • Field Name: NAME,MUNIC
  • Value Info: MasterStreetName|FULLNAME,MUNICIPALITY


Validate Attributes

Compares values in the input fields to all feature templates for the feature class.

To configure this method, populate the following in the DynamicValue table:

Table Name Field Name Value Method Value Info
Table or feature class Blank or Leave Null VALIDATE_ATTRIBUTES Field

This rule can be configured on any field type.

Parameters

The method parameters are as follows:

Parameter Value Description
Field or fields List of field names List of fields to monitor in the format field1,field2,etc.

Examples

Monitors the DIAMETER, MATERIAL, and LINETYPE fields for changes and verifies that the new values are valid feature template values for the wLateralLines layer:

  • Table Name: wLateralLines
  • Field Name: <Null>
  • Value Info: DIAMETER,MATERIAL,LINETYPE


Validate Connectivity

Validates the number of connections on a feature and rejects the edits if the criteria are not met.

To configure this method, populate the following in the DynamicValue table:

Table Name Field Name Value Method Value Info
Feature class Field name to provide different valid connection values for each value within this field VALIDATE_CONNECTIVITY Connections

This rule can be configured on any field type.

Parameters

The method parameters are as follows:

Parameter Value Description
Connections List number of connections List the number of valid connections separated by |.

Examples

Validates the current feature in the junctions layer to only allow one, two, or four connections:

  • Table Name: junctions
  • Field Name: <Null>
  • Value Info: 1|2|4

Validates the current feature to only allow one or three connections if the value in the TYPE field is Bend. If the TYPE field value is Tap, one or four connections are valid:

  • Table Name: junctions
  • Field Name: TYPE
  • Value Info: Bend,1|Bend,3|Tap,1,4


Validate Domain

Validates data entry on field with domains against the domain. If the value is outside the range or not in the coded value list, the edit is aborted.

To configure this method, populate the following in the DynamicValue table:

Table Name Field Name Value Method Value Info
Table or feature class Field or fields to monitor VALIDATE_DOMAIN Null or Blank

Parameters

There are no parameters for this method.

Examples

Monitors the DIAMETER, MATERIAL, and LINETYPE fields in the wLateralLines layer for changes. If the new value would violate the current domain, the edit does not occur:

  • Table Name: wLateralLines
  • Field Name: DIAMETER,MATERIAL,LINETYPE
  • Value Info: <Null>


Top