Expression Alias
Load the com.ptc.windchill.option.model.ExpressionAlias object in Windchill database using the Windchill loader.
XML Format
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>PURPLE</csvname>
<csvexpressionString>"Telecom" OR "Modem"</csvexpressionString>
<csvversion>B</csvversion>
<csviteration>2</csviteration>
<csvnumber>PURPLE</csvnumber>
<csvdescription>This is an alias named "PURPLE"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>RELEASED</csvlifecyclestate>
</csvBeginAlias>
<csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
Attributes for csvBeginExpressionAlias
Attribute
Description
Required or Optional?
csvnumber
Rule number
Optional
csvversion
Version of the alias
Optional
csviteration
Iteration of the alias
Optional
csvdescription
Alias description
Optional
csvcontainerPath
Path to the context where the alias resides
Optional
csvlifecycletemplate
Lifecycle template
Optional
csvlifecyclestate
Lifecycle state template
Optional
csvfolder
Folder location
Optional
Example
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>PURPLE</csvname>
<csvexpressionString>"Telecom" OR "Modem"</csvexpressionString>
<csvversion>B</csvversion>
<csviteration>2</csviteration>
<csvnumber>PURPLE</csvnumber>
<csvdescription>This is an alias named "PURPLE"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>RELEASED</csvlifecyclestate>
</csvBeginAlias>
<csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
這是否有幫助?