Datenverwaltungsfunktionen > Teilestrukturen verwalten > WindchillOptions- und Variantenfunktionen > Daten für Optionen und Varianten verwalten - Referenz > Daten für Optionen und Varianten laden > Optionssatz
  
Optionssatz
Laden Sie das com.ptc.windchill.option.model.OptionSet-Objekt und den Optionssatz-Untertyp mit dem Windchill Ladeprogramm in die Windchill Datenbank.
XML-Format:
<csvBeginOptionSet handler="com.ptc.windchill.option.load.Loader.beginCreateOptionSet" >
<csvname>Optionssatz-Name</csvname>
<csvtypedef>Zu erstellender Optionssatz-Typ</csvtypedef>
<csvdescription>Beschreibung von Optionssatz</csvdescription>
<csvsupportExclusionOptionChoices>Optionssatzwahlmöglichkeit für Ausschluss Wahr/Falsch
</csvsupportExclusionOptionChoices>
<csvsupportItemOptionChoices>Zuordnung von Wahlmöglichkeiten zu Elementen aus diesem Optionssatz Wahr/Falsch unterstützen</csvsupportItemOptionChoices>
<csvreferenceOptionPoolRulesAutomatically>Regeln aus Pool zu diesem Optionssatz automatisch referenzieren Wahr/Falsch</csvsupportItemOptionChoices>
<csvmerged>true</csvmerged>
</csvBeginOptionSet>
<csvAddChoice handler="com.ptc.windchill.option.load.Loader.addChoice" >
<csvname>Wahlmöglichkeitsname</csvname>
<csvcontainerPath>Container mit Wahlmöglichkeit, um nach hinzuzufügender Wahlmöglichkeit zu suchen
</csvcontainerPath>
</csvAddChoice>
...
...
<csvEndOptionSet handler= "com.ptc.windchill.option.load.Loader.endCreateOptionSet" />
Attribute für csvBeginOptionSet
Attribut
Beschreibung
Erforderlich oder optional?
csvname
Optionssatzname
Erforderlich
csvtypedef
Windchill Objekttyp
Optional
csvdescription
Optionssatzbeschreibung
Optional
csvsupportExclusionOptionChoices
Gibt an, ob der Optionssatz Ausschlusswahlmöglichkeiten unterstützt
Optional
csvsupportItemOptionChoices
Steuert die Zuweisung von Wahlmöglichkeiten zu einer Produktstruktur. Wenn der Wert dieses Attributs auf Nein eingestellt ist, können Benutzer Wahlmöglichkeiten zu konfigurierbaren Modulen und ihren Verwendungs-Links zuweisen. Wenn er auf Ja eingestellt ist, können Benutzer Wahlmöglichkeiten auch zu Standardteilen (d.h. nicht konfigurierbaren Teilen) zuweisen. Standardmäßig ist dieses Attribut auf Nein eingestellt.
Optional
csvsupportEffectivityOnOptionChoices
Gibt an, ob der Optionssatz die Gültigkeit für Wahlmöglichkeiten unterstützt
Optional
csvreferenceOptionPoolRulesAutomatically
Gibt an, ob globale Regeln vom Optionssatz geerbt werden sollen
Optional
csvmerged
Gibt an, ob der Optionssatz zusammengeführt wird
Optional
Beispiel:
<csvBeginOptionSet handler="com.ptc.windchill.option.load.Loader.beginCreateOptionSet">
<csvname>Colour Pallet</csvname>
<csvdescription>Colour Pallet To Select Color</csvdescription>
<csvsupportExclusionOptionChoices>true</csvsupportExclusionOptionChoices>
<csvsupportItemOptionChoices>true</csvsupportItemOptionChoices>
<csvsupportEffectivityOnOptionChoices>true</csvsupportEffectivityOnOptionChoices>
<csvreferenceOptionPoolRulesAutomatically>true
</csvreferenceOptionPoolRulesAutomatically>
<csvmerged>true</csvmerged>

</csvBeginOptionSet>
<csvAddChoice handler="com.ptc.windchill.option.load.Loader.addChoice">
<csvname>Red</csvname>
<csvcontainerPath />
<csvmerged>true</csvmerged>
</csvAddChoice>
<csvAddChoice handler="com.ptc.windchill.option.load.Loader.addChoice">
<csvname>Green</csvname>
<csvcontainerPath />
</csvAddChoice>
<csvAddChoice handler="com.ptc.windchill.option.load.Loader.addChoice">
<csvname>Blue</csvname>
<csvcontainerPath />
</csvAddChoice>
<csvAddChoice handler="com.ptc.windchill.option.load.Loader.addChoice">
<csvname>Glossy</csvname>
<csvcontainerPath />
</csvAddChoice>
<csvAddChoice handler="com.ptc.windchill.option.load.Loader.addChoice">
<csvname>Matt</csvname>
<csvcontainerPath />
</csvAddChoice>
<csvEndOptionSet handler="com.ptc.windchill.option.load.Loader.endCreateOptionSet" />