Add Attribute Fields to Relationship Tables in ArcMap
This topic contains step-by-step instructions on how to create the relationships in ArcMap. Subsequent relationship topics only include the relevant properties to choose while building the relationship.
- In ArcMap, right-click the DHFC geodatabase and choose New > Relationship Class.
- Under Name, enter the relationship class name.
- For Origin table/feature class, select the applicable table.
- For Destination table/feature class, select the applicable table.
- Click Next.
- For Relationship Type, choose Simple, then click Next.
- Regarding the Forward Label, it must match the label in
the Schema.xml. If using the default values:
- For the Forward Label, type RFCouplerPort
- For the Backward Label, type RFCoupler
- For the Message Direction, choose None (no message propagated)
IMPORTANT: The Forward Label you type while creating the relationship must match the EsriBuiltName entry in the Schema.xml file for this component:
<Relationship CoaxName="RFCouplerPortData" EsriDesignName="SECom.ARCFM.RFCouplerPort" EsriBuiltName="RFCouplerPort" /> - Click Next.
- For Cardinality, choose 1–M (one to many), then click Next.
- For Relationship Attributes, choose No, I do not want to add attributes to this relationship class, then click Next.
- For the Primary Key, choose NetworkId.
- For the Foreign Key, choose CouplerId.
- Click Next.
- Review the summary, then click Finish.IMPORTANT: With the as-built relationship complete, you can repeat the steps to create the in-design relationship. Make sure you relate the in-design components together (the ones with the suffix _D) and ensure you change the Forward label to match the Schema.xml.


