Import Life Cycle Templates
The following rules apply when importing life cycle templates:
You cannot import a life cycle template from a later Windchill release into an earlier release.
The wt.ixb.import.allowCrossReleaseImport property determines whether you can import a life cycle into a later Windchill release.
Importing a JAR or ZIP file with one or more XML files creates one or more life cycle templates (depending on how many templates are defined in the XML files).
The following file determines the XML layout:
<Windchill>/loadXMLfiles/standard<releaseName>.dtd
where <releaseName> is the Windchill version.
This file contains all the XML tags for all objects that import/export supports. For more information, see Validating the XML Format.
1. From the Life Cycle Templates table, select Actions > Import.
2. Navigate to the JAR or ZIP file that contains the life cycle template XML definition.
3. Click OK.
If a non-fatal error occurs, you receive an error message. Check the method server log for fatal error information.
Import Life Cycle Properties
The following properties affect the import process for life cycle templates. The properties are located in the wt.properties file.
For additional property information, see Windchill Import Properties.
Name
wt.lifecycle.IterateOnImport
Default
true
Description
This property determines what happens when you import a life cycle template into a context that already has a template with the same name:
True—The imported life cycle template is appended to the existing template as a new iteration.
False—The user receives an error message stating that there is a duplicate name, and the life cycle is not imported.
Name
wt.ixb.import.allowCrossReleaseImport
Default
false
Description
This property enables you to import an exported JAR or Zip file across Windchill releases.
Cross-release imports are not officially supported; this property simply allows the import operation to proceed. The import might not be successful. Even for successful import operations, the integrity of the imported data cannot be guaranteed.
* 
Even when set to true, you cannot import life cycle template from later releases into earlier Windchill releases.
Name
wt.ixb.import.default.lifecycleInfo.lifecycleTemplateName
Default
The value specified for wt.lifecycle.defaultLifeCycle.
Description
This property determines the life cycle template name if it is not appropriately specified in the imported XML file.
* 
The default value for the wt.lifecycle.defaultLifeCycle property is Default.
Name
wt.ixb.import.default.lifecycleInfo.lifecycleState
Default
INWORK
Description
This property determines the default life cycle template state if it is not appropriately specified in the imported XML file.
Isto foi útil?