Alias
Caricare l'oggetto com.ptc.windchill.option.model.ExpressionAlias nel database Windchill utilizzando il caricatore di Windchill.
Formato XML:
Attributi per csvBeginExpressionAlias
Attributo
|
Descrizione
|
Obbligatorio o facoltativo?
|
csvnumber
|
Numero di regola
|
Facoltativo
|
csvversion
|
Versione dell'alias
|
Facoltativo
|
csviteration
|
Iterazione dell'alias
|
Facoltativo
|
csvdescription
|
Descrizione dell'alias
|
Facoltativo
|
csvcontainerPath
|
Percorso del contesto in cui risiede l'alias
|
Facoltativo
|
csvlifecycletemplate
|
Modello di ciclo di vita
|
Facoltativo
|
csvlifecyclestate
|
Modello di ciclo di vita
|
Facoltativo
|
csvfolder
|
Posizione cartella
|
Facoltativo
|
Esempio:
<?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>