The <CodedValueDomain> Tag

The attributes of this tag include:

CoaxName

The domain values used by the application.

EsriName

The coded values of the domain as stored in the GIS. This can be changed to match your company’s domain coded values. You must use the coded values, not the Description.

DisplayName

This is an optional tag attribute. It allows you to assign a user-friendly display name that users see in the application instead of the CoaxName. If DisplayName is not declared, the application uses the CoaxName.

The CodedValueDomain is then used inside a Field tag in order to map those field values to the domain values.

IMPORTANT: Do not change the coded domain values in your GIS once they have been put into production or have designs associated with them. If you change the coded values post-implementation, you inherently orphan data and the application fails to load.

For example, the following code block starts with a snippet of the PoleType CodedValueDomain. Then, notice the CodedValueDomain of PoleType is referenced for the PoleType field in Support Structure:

<CodedValueDomain CoaxName="PoleType">
  <CodedValueEntry CoaxName="CableOnly" DisplayName="Cable Only" EsriName="0" />
  <CodedValueEntry CoaxName="PowerAndPhone" DisplayName="Power and Phone" EsriName="3" />
  <CodedValueEntry CoaxName="MidSpan" DisplayName "Mid-Span Pole" EsriName="6" />
  <CodedValueEntry CoaxName="Demarcation" EsriName="7" />
  <CodedValueEntry CoaxName="PowerOnly" DisplayName="Power Only" EsriName="9" />
  <CodedValueEntry CoaxName="PowerOnlyTransformer" DisplayName "Power-Only Transformer" EsriName="13" />
</CodedValueDomain>

<Table CoaxName="SupportStructureData" EsriDesignName="SupportStructure" EsriBuiltName="SupportStructure">
  <Field CoaxName="EsriId" EsriName="OBJECTID" Import="true" />
  <Field CoaxName="NetworkId" EsriName="NetworkId" Import="true" />
  <Field CoaxName="PoleType" EsriName="PoleType" FriendlyName="Pole Type" Viewable="true" CodedDomainName="PoleType" Import="true" /
  <Field CoaxName="Workflow_Status" EsriName="Workflow_Status" Import="true" />
  etc.

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?