Data Management Capabilities > Managing Part Structures > Windchill Options and Variants Capabilities > Managing Data for Options and Variants — Reference > Loading Data for Options and Variants > Register an Option Set
  
Register 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 >
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>