Administration d'entreprise > Chargement de données Windchill > Loading Data for Product Families and Options and Variants > Loading Data From XML > Assign an Option Set
  
Assign an Option Set
Load the com.ptc.windchill.option.model.RegistreOptionSetLink object in the Windchill database using Windchill loader. With this association, the option set can be associated with OptionSetAssignable objects such as WTPatMaster, PDMLinkProduct, WTLibrary. It can then be used as the assigned option set.
XML Format
<csvRegisterOptionSet handler="com.ptc.windchill.option.load.Loader.registerOptionSet" >
<csvname>option set name</csvname>
<csvoptionSetContainerPath>container of the option set</csvoptionSetContainerPath>
</csvRegisterNavigationFilterTemplate >
Table 19. Attributes for csvRegisterOptionSet
Attribute
Description
Required or Optional?
csvname
Option set name
Required
csvstate
Lifecycle state
Optional
csvoptionSetContainerPath
Path to the context where the option set resides
Optional
csvOptionSetAssignableClass
Class name for the option set assignable, for example, wt.pdmlink.PDMLinkProduct or wt.part.WTPartMaster
Optional
csvOptionSetAssignableNumber
Number for the assignable, for example, part number
Optional
Example
<csvRegisterOptionSet handler="com.ptc.windchill.option.load.Loader.registerOptionSet">
<csvname>Colour Pallet</csvname>
</csvRegisterOptionSet>