Skip to main content
1-Visitor
April 15, 2015
Solved

How to create load file to import globale attribute

  • April 15, 2015
  • 2 replies
  • 2713 views

Hello

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

thanks

Best answer by Prabhash

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
April 16, 2015

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

2-Explorer
April 16, 2015

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>