Class LoadLibrary

java.lang.Object
wt.inf.library.LoadLibrary

public class LoadLibrary extends Object
Creates and persists library objects based on input from an XML load file. The following are examples of what is needed in the load file.

<csvCreateContainerTemplate handler="wt.inf.template.LoadContainerTemplate.createContainerTemplate">
 <csvname>library template name</csvname>
 <csvenabled>false</csvenabled>
 <csvxmlPath>name of the XML file of the template</csvxmlPath>
 <csvcontainerClassName>wt.inf.library.WTLibrary</csvcontainerClassName>
 <csvparentContainerPath>container path</csvparentContainerPath>
 <csvdescription>library template name</csvdescription>
</csvCreateContainerTemplate>
 
<csvLibraryContainer handler="wt.inf.library.LoadLibrary.createLibraryContainer">
 <csvname>library name</csvname>
 <csvdescription>library description</csvdescription>
 <csvcontainerTemplate>library template name</csvcontainerTemplate>
</csvLibraryContainer>

These entries are loaded by running:

windchill wt.load.LoadFromFile -u user name -p password -d fileName -CONT_PATH \"/wt.inf.container.OrgContainer=organization name\"

Supported API: true

Extendable: false

See Also:
  • StandardLoadService
  • LoadContainerTemplate