Alias
Load the com.ptc.windchill.option.model.ExpressionAlias object in Windchill database using the Windchill loader.
XML Format:
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:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE NmLoader SYSTEM "standardX24.dtd">
<NmLoader>
<!-- Create alias "PURPLE" version [B.2] -->
<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"/>
<!-- Create alias "PURPLE" version [A.1] -->
<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>A</csvversion>
<csviteration>1</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"/>
<!-- Create alias "IVORY" version [A.1] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>IVORY</csvname>
<csvexpressionString>PURPLE</csvexpressionString>
<csvnumber>IVORY</csvnumber>
<csvdescription>This is an alias named "IVORY"</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"/>
<!-- Create alias "TURQUOISE" version [C.3] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>TURQUOISE</csvname>
<csvexpressionString>None</csvexpressionString>
<csvversion>C</csvversion>
<csviteration>3</csviteration>
<csvnumber>TURQUOISE</csvnumber>
<csvdescription>This is an alias named "TURQUOISE"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System
</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>UNDERREVIEW</csvlifecyclestate>
</csvBeginAlias>
<csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
<!-- Create alias "MAGENTA" version [A.1] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>MAGENTA</csvname>
<csvexpressionString>"TURQUOISE" AND "Battery"</csvexpressionString>
<csvnumber>MAGENTA</csvnumber>
<csvdescription>This is an alias named "MAGENTA"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>INWORK</csvlifecyclestate>
</csvBeginAlias><csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
</NmLoader>