I've finally nailed the "Magic" required to load the data we're looking for.
Given this sample classification tree:
/Root
Part
Machine Components
Bearings
The "Bearings" node has 2 attributes, Material and BearingType.
Assuming 1000000 is a "Cam Roller" bearing, made from Bronze (Hey, this is a test, it doesn't have to be real..), the following XML file produces the desired results.
<?xml version="1.0" ?><!DOCTYPE NmLoader SYSTEM "standardX24.dtd">
<NmLoader>
<csvBeginCreateOrUpdateWTPart handler="wt.part.LoadPart.beginCreateOrUpdateWTPart" >
<csvpartName></csvpartName>
<csvpartNumber>1000000</csvpartNumber>
<csvtype>separable</csvtype>
<csvgenericType></csvgenericType>
<csvcollapsible></csvcollapsible>
<csvlogicbasePath></csvlogicbasePath>
<csvsource>buy</csvsource>
<csvfolder>/Default/1000000-1999999</csvfolder>
<csvlifecycle></csvlifecycle>
<csvview></csvview>
<csvvariation1></csvvariation1>
<csvvariation2></csvvariation2>
<csvteamTemplate></csvteamTemplate>
<csvlifecyclestate></csvlifecyclestate>
<csvtypedef></csvtypedef>
<csvclassToUpdate></csvclassToUpdate>
<csvorganizationName></csvorganizationName>
<csvorganizationID></csvorganizationID>
<csvsecurityLabels></csvsecurityLabels>
<csvserviceable></csvserviceable>
<csvservicekit></csvservicekit>
<csvauthoringLanguage></csvauthoringLanguage>
</csvBeginCreateOrUpdateWTPart>
<csvLoadValue handler="com.ptc.core.lwc.server.LoadAttValues.loadValue" >
<csvname>Classification</csvname>
<csvrefType></csvrefType>
<csvrefAtt></csvrefAtt>
<csvvalue>Bearings</csvvalue>
</csvLoadValue>
<csvLoadValue handler="com.ptc.core.lwc.server.LoadAttValues.loadValue" >
<csvname>Material</csvname>
<csvrefType></csvrefType>
<csvrefAtt></csvrefAtt>
<csvvalue>DATA|java.lang.String|Bronze</csvvalue>
</csvLoadValue>
<csvLoadValue handler="com.ptc.core.lwc.server.LoadAttValues.loadValue" >
<csvname>BearingType</csvname>
<csvrefType></csvrefType>
<csvrefAtt></csvrefAtt>
<csvvalue>DATA|java.lang.String|Cam Roller</csvvalue>
<csvEndCreateOrUpdateWTPart handler="wt.part.LoadPart.endCreateOrUpdateWTPart" >
<csvparentContainerPath></csvparentContainerPath>
</csvEndCreateOrUpdateWTPart>
</NmLoader>
---
Thanks!
=Don=