If the elements contained in the input XML files come from features stored in a geodatabase, there are two ways to associate them with these features: by specifying particular items for each element in the input XML file or by creating predefined user data at the schematic feature class level in the schematic dataset.
Specifying the DatasourceName, UCID, and UOID for the elements in the XML files
For any NodeFeature, LinkFeature, NodeOnLinkFeature, or SubLinkFeature in the XML file, the DatasourceName, UCID, and UOID items may be specified.
- The DatasourceName specifies the name of the data source that must be used to connect the geodatabase that contains the associated feature.
- The UCID gives the feature class ID of that associated feature.
- The UOID provides the associated feature OBJECTID.
Here is a sample NodeFeature where these items are specified:
Sample of associations in a XML file
<NodeFeature> <FeatureClassName>Stations</FeatureClassName> <ExternalUniqueID>Station-2</ExternalUniqueID> <DatasourceName>XMLDataSource</DatasourceName> <UCID>1</UCID> <UOID>2</UOID> ... </NodeFeature>
Creating predefined FDSN, FCN, and FOID attributes at the schematic feature class level
Schematics will also try to manage the associations between features or objects contained in a geodatabase and schematic features contained in XML Builder diagrams when three predefined attribute values are specified for the schematic feature class that implements these schematic features—FOID, FCN, and FDSN:
- The FOID predefined attribute must specify the OBJECTID of the feature or object you want to be associated with the schematic feature.
- The FCN predefined attribute value indicates the feature class name or table name of the feature/object you want to be associated with the schematic feature.
- The FDSN predefined attribute value specifies the name of the data source used to connect the geodatabase that contains this feature or object (this data source must use an ESRI connection—ESRI Access GDB, ESRI File GDB, ESRI Sde GDB, and so on).
Learn more about the FOID, FCN, and FDSN predefined attributes and their configurations