Layers With Joined Feature Sources
To create a layer definition for a layer that uses a feature source containing a join, create the layer definition as described in Layer Definition. Set the <FeatureName> element to the join name as defined in the feature source. Set the <FeatureNameType> element to NamedExtension. For example, the following portion of a layer definition uses the join named “Parcels_Joins1”.
<?xml version="1.0" encoding="utf-16"?>
<LayerDefinition
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
version="1.0.0">
<VectorLayerDefinition>
<ResourceId>Library://Data/SAMPLE.FeatureSource</ResourceId>
<FeatureName>Parcels_Joins1</FeatureName>
<FeatureNameType>NamedExtension</FeatureNameType>
See Joins for details about the feature source definition.