Export Attribute Rules (Data Management Tools)
Summary
Exports attribute rules from a dataset to a comma-separated values file (.csv).
Usage
This tool can be used in conjunction with the Import Attribute Rules tool.
The output
.csvfile will include the following columns:Column
Description
Example
NAMEThe name of the rule.
constraintRuleOP
DESCRIPTIONThe rule description.
Operating pressure must be less than 300.
TYPEThe type of attribute rule.
CONSTRAINT, CALCULATION
SUBTYPEIf the dataset has a subtype and the subtype is used in the rule definition, this is the subtype name (also known as description) to which the rule is applied.
ALL
FIELDThe name of the field to which the rule is applied, if applicable.
CONDITION
ISEDITABLEA Boolean value that defines whether the attribute field is editable.
True or False
TRIGGERINSERTA Boolean value that defines whether the triggering events for the rule are set for insert edits.
True or False
TRIGGERDELETEA Boolean value that defines whether the triggering events for the rule are set for delete edits.
True or False
TRIGGERUPDATEA Boolean value that defines whether the triggering events for the rule are set for update edits.
True or False
SCRIPTEXPRESSIONThe ArcGIS Arcade script expression that defines the rule.
$feature.OPERATINGPRESSURE < 300ERRORNUMBERThe error number for the rule, if applicable.
99
ERRORMESSAGEThe error message for the rule, if applicable.
Invalid operating pressure. The value must be less than 300.
EXCLUDECLIENTEVALUATIONA Boolean value that defines whether the rule is supported for all clients or simple clients.
True or False
ISENABLEDA Boolean value that defines whether the attribute rule is enabled.
True or False
BATCHA Boolean value that defines whether the rule supports batch validation.
True or False
SEVERITYAn integer value (1–5) that defines the severity of the error.
2
TAGSA set of string values that identify the rule.
Operating pressure
CATEGORYA system-generated integer value that defines the rule category, if applicable.
This value is system generated and should not be modified.
6
CHECKPARAMETERSA system-generated JSON value that defines the configuration of a Data Reviewer-based rule.
This value is system generated and should not be modified.
{"ReviewerRuleType": "0", "minimumangle": "60"}TRIGGERINGFIELDSA list of field values representing the fields where an edit occurs that will trigger the attribute rule.
Note:
An empty array defined as [] represents all fields as triggering fields. When no triggering fields are specified, all fields are listed as triggering fields.
["RoadCondition", "NumberOfLanes", "RoadType"]
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Table |
The table or feature class from which the attribute rules will be exported. |
Table View |
|
Output File |
The folder location and name of the |
File |
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes