高级自定义 > 业务逻辑自定义 > 使用 Windchill 中的标准进行数据交换 > 使用 EXPRESS 进行 STEP 数据交换 > STEP Foundation > 配置元数据映射 > 配置和首选项实例 - 示例
  
配置和首选项实例 - 示例
基于 externalTypeIDfolderPath

<Mapping preferenceDefinition="R_folderPath" separator=";"
mappingProcessor="wt.ixb.publicforapps.extendedmapping.
processor.MultiTagMappingProcessor">
<Tag value="externalTypeId" condition="true" regex="true"/>
<Tag value="folderPath"/>
</Mapping>
<BeginMVPreferenceInstance>
<name>R_folderPath</name>
<comments>Just a test</comments>
<clientName>536416322-1456322554305-2141932519-203-136-220-10
</clientName>
<locked>false</locked>
</BeginMVPreferenceInstance>
<MVPreferenceInstance>
<valuekey>/NULL;/NULL</valuekey>
<!-- if externalTypeID and folderPath not specified, always set it
to a specific value à
<value>/Default/Unspecified</value>
<locked>false</locked>
</MVPreferenceInstance>
<MVPreferenceInstance>
<valuekey>wt.doc.WTDocument;/NULL</valuekey>
<!-default folderPath for externalTypeID that contains a string
‘wt.doc.WTDocument’ à
<value>/Default/WTDocument</value>
<locked>false</locked>
</MVPreferenceInstance>
<MVPreferenceInstance>
<valuekey>wt.part.WTPart;/NULL</valuekey>
<value>/Default/WTPart</value>
<locked>false</locked>
</MVPreferenceInstance>
<EndMVPreferenceInstance/>
versionInfo 映射

<Mapping preferenceDefinition="R_versionInfo" separator=";"
mappingProcessor="wt.ixb.publicforapps.extendedmapping.
processor.MultiTagMappingProcessor">
<Tag value="externalTypeId" condition="true" regex="true"/>
<Tag value="versionInfo/versionId"/>
<Tag value="versionInfo/iterationId"/>
</Mapping>
<BeginMVPreferenceInstance>
<name>R_versionInfo</name>
<comments>Just a test</comments>
<clientName>536416322-1456322554305-2141932519-203-136-220-10
</clientName>
<locked>false</locked>
</BeginMVPreferenceInstance>
<MVPreferenceInstance>
<valuekey>wt.doc.WTDocument.*3DR,001,/NULL</valuekey>
<value>A,1</value>
<locked>false</locked>
</MVPreferenceInstance>
<MVPreferenceInstance>
<valuekey>wt.doc.WTDocument.*3DR,002,/NULL</valuekey>
<value>B,1</value>
<locked>false</locked>
</MVPreferenceInstance>
….
<EndMVPreferenceInstance/>