Add Coded Value To Domain (Data Management Tools)
Summary
Adds a value to a domain's coded value list.
Usage
Domain management involves the following steps:
Create the domain using the Create Domain tool.
Add values to or set the range of values for the domain using this tool or the Set Value For Range Domain tool.
Associate the domain with a feature class using the Assign Domain To Field tool.
The coded value domain includes both the actual value that is stored in the database (for example, 1 for pavement) and a description of what the code value means (for example, pavement).
A coded value domain which specifies a valid set of values for an attribute can apply to any type of attribute—text, numeric, date, and so on. For example, a coded value list for a text attribute might include valid pipe material values: CL - cast iron pipe; DL - ductile iron pipe; ACP - asbestos concrete pipe, or a coded value list might include the numeric values representing valid pipe diameters: .75–3/4"; 2–2"; 24–24"; and 30–30".
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Workspace |
The geodatabase containing the domain to be updated. |
Workspace |
|
Domain Name |
The name of the attribute domain that will have a value added to its coded value list. |
String |
|
Code Value |
The value to be added to the specified domain's coded value list. |
String |
|
Code Description |
A description of what the coded value represents. |
String |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Updated Workspace |
The updated workspace |
Workspace |
Environments
Current Workspace, Auto Commit
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes