Attribute Rules

DHFC employs attribute rules to perform data maintenance tasks while users are editing features. This topic describes the attribute rules, organized by dataset. Refer to Esri’s Attribute Rule Fundamentals article for more information about attribute rules.

Follow these steps to add an attribute rule to a feature class that generates a new NetworkId:

  1. On the Catalog tab, right-click the feature, select Data Design, then click Attribute Rules.

  2. On the Calculation tab, click Add Rule and provide the following properties:

    • Name: New NetworkId

    • Field: NetworkId

    • Triggers: Insert

    • Expression:

      if(IsEmpty($feature.NetworkId)) {
         return GUID();
      }
      else {
         return $feature.NetworkId;
      }

Coax Dataset_D (design)

There are no attribute rules applied to any features or relationships in this dataset.


Coax Dataset_A (as-built)

The polygon feature classes require the attribute rule CreateCoaxNetworkId on the NetworkId fields. DHFC requires a GUID in this field, and the attribute rule assigns one when the feature is created.

Feature Class Name

Field

Triggers

Attribute Rule

DoNotBuildBoundary

NetworkID

Insert

New NetworkId

RFNodeBoundary

NetworkID

Insert

New NetworkId

RFPowerSupplyBoundary

NetworkID

Insert

New NetworkId


Landbase Dataset

There are no attribute rules applied to any features or relationships in this dataset.


Structures Dataset

Any structure feature class (points, lines, and polygons) participating in the DHFCapplication requires the attribute rule CreateCoaxNetworkId on the NetworkId fields. DHFC requires a GUID in this field, and the attribute rule assigns one when the feature is created.

Feature Class Name

Field

Triggers

Attribute Rule

AddressPoint

NetworkID

Insert

New NetworkId

MduBoundary

NetworkID

Insert

New NetworkId

MduPathElement

NetworkID

Insert

New NetworkId

MduPolygonElement

NetworkID

Insert

New NetworkId

MduTextElement

NetworkID

Insert

New NetworkId

OverheadSpan

NetworkID

Insert

New NetworkId

RFDrop

NetworkID

Insert

New NetworkId

SupportStructure

NetworkID

Insert

New NetworkId

UndergroundJunction

NetworkID

Insert

New NetworkId

UndergroundSpan

NetworkID

Insert

New NetworkId

UndergroundStructure

NetworkID

Insert

New NetworkId

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

Was this helpful?