Associating features with schematic features managed by the XML builder
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.Note:
This data source name must be previously declared in the <Datasources> section at the beginning of the XML file.
- 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>
If the parameters in the Associated Object Class section on the Properties tab of the schematic feature class is specified, Schematics may be also able to retrieve the associated feature class even if the DatasourceName and/or UCID are missing in the input XML data. But the UOID in the input XML data is absolutely needed in that case.
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
For schematic features contained in XML Builder diagrams, the FOID and FCN predefined attributes are absolutely required so that the association is correctly managed. The FDSN is also often required, except when the data source specified for the schematic feature class query connects the geodatabase containing the associated feature.