Loading the XML File
To load a 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 used to determine the versioning scheme. Loading a second file overwrites the first file and the series in the second file is used.
|
After you load a new XML file, you must restart the method server.
|
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>