Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello
I would like to know all the step to create load file (xml) to import global Attributes via LoadfromFile command.
thanks
Solved! Go to Solution.
I think you will get an idea from this article...https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS30168#sample
I think you will get an idea from this article...https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS30168#sample
We created an .xml load file to contain all of our IBAs with Windchill V9.1 and it translated into Global Attributes in Windchill 10.2. We were able to use the same load file with 10.2 as we did with 9.1. Here is an example of the format:
<?xml version="1.0"?><!DOCTYPE NmLoader SYSTEM "standardX10.dtd">
<NmLoader>
<csvAttrDefinizer handler="wt.iba.definition.DefinitionLoaderWithCache.createAttrDefinizer">
<csvname>activeInd</csvname>
<csvhierarchyDisplayName>Active</csvhierarchyDisplayName>
<csvorganizerPaths>Our IBA Organizer</csvorganizerPaths>
<csvdefinitionPaths/>
<csvdisplay_name>Active</csvdisplay_name>
<csvdescription>Active</csvdescription>
<csvdata_type>Boolean</csvdata_type>
<csvQoMName/>
<csvnameValuePairs/>
<csvlogicalIdentifier>activeInd</csvlogicalIdentifier>
</csvAttrDefinizer>
<csvAttrDefinizer handler="wt.iba.definition.DefinitionLoaderWithCache.createAttrDefinizer">
<csvname>actualAvailabilityDate</csvname>
<csvhierarchyDisplayName>Actual Availability Date</csvhierarchyDisplayName>
<csvorganizerPaths>Our IBA Organizer</csvorganizerPaths>
<csvdefinitionPaths/>
<csvdisplay_name>Actual Availability Date</csvdisplay_name>
<csvdescription>Actual Availability Date</csvdescription>
<csvdata_type>timestamp</csvdata_type>
<csvQoMName/>
<csvnameValuePairs/>
<csvlogicalIdentifier>actualAvailabilityDate</csvlogicalIdentifier>
</csvAttrDefinizer>
</NmLoader>