Skip to main content
1-Visitor
Apr 15, 2015 8:29 PM UTC
Solved

How to create load file to import globale attribute

Hello

I would like to know all the step to create load file (xml) to import global Attributes via LoadfromFile command.

thanks

PrabhashAnswer
1-Visitor
Apr 16, 2015 1:47 PM UTC

I think you will get an idea from this article...https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS30168#sample

2 replies

Prabhash1-VisitorAnswer
1-Visitor
Apr 16, 2015 1:47 PM UTC

I think you will get an idea from this article...https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS30168#sample

Translate
2-Explorer
Apr 16, 2015 11:36 PM UTC

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>

Translate