Loading the XML Versioning File
To load the list-based or state-based versioning XML file, enter the following from within a windchill shell:
windchill wt.series.LoadFileBasedSeries <XML_file> -load
where <XML_file> is the absolute file path to the existing XML file.
|
Only one file can be loaded at a time. Loading a second file overwrites the first file.
|
Loading the List-based Series File Using LoadFromFile
Perform the following steps to load the list-based series file using LoadFromFile:
1. Create FileBasedSeries.xml that contains user-customized series, which is to be loaded in Windchill.
2. To reference the created FileBasedSeries.xml, create a loader file, for example, FileBasedSeries_Loader.xml with the following content:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE NmLoader SYSTEM "standardX24.dtd">
<NmLoader>
<csvCreateFileBasedBegin handler="wt.series.LoadFileBasedSeries.createFileBasedBegin">
<csvfileName>com/customer/series/FileBasedSeries.xml</csvfileName>
</csvCreateFileBasedBegin>
</NmLoader>
where FileBasedSeries.xml is your XML file for the list-based series.
3. Use the LoadFromFile command to load your loader file.
For example,
windchill wt.load.LoadFromFile -d <path_to_loader>/FileBasedSeries_Loader.xml -u <user> -p <user>