Data Management Capabilities > Managing Part Structures > Windchill Options and Variants Capabilities > Managing Data for Options and Variants — Reference > Loading Data for Options and Variants > Navigation Filter
  
Navigation Filter
Load the NavigationFilter type in the Windchill database using the Windchill loader.
XML Format:
<csvBeginNavFilter handler="com.ptc.windchill.option.load.Loader.beginCreateNavFilter" >
<csvoptionSet>option set to be used for filter</csvoptionSet>
<csvfilterMode>filter type to be used</csvfilterMode>
</csvBeginNavFilter>
. . .
<csvEndNavFilter handler= "com.ptc.windchill.option.load.Loader.endCreateNavFilter" />
Attributes for csvBeginNavFilter
Attribute
Description
Required or Optional?
csvoptionSet
Option set name
Required
csvfilterMode
The number that represents the filter type to be selected for this navigation filter. Available numbers can be found on the wt.properties file as below. To select the Standard filter, provide a value of “1” in the csvfilterMode tag. For the Alternate filter, provide “2”. If nothing is provided, the filter type defaults to Standard.
ato.filter.strategy.1=$(wt.home)/codebase/com/ptc/windchill/option/filter/StandardFilterStrategy.xml
ato.filter.strategy.2=$(wt.home)/codebase/com/ptc/windchill/option/filter/AlternateFilterStrategy.xml
Optional
Example:
<csvBeginNavFilter handler="com.ptc.windchill.option.load.Loader.beginCreateNavFilter">
<csvoptionSet>Colour Pallet</csvoptionSet>
<csvfilterMode>2</csvfilterMode>
</csvBeginNavFilter>

<csvChoiceMappableChoiceLink
handler="com.ptc.windchill.option.load.Loader.createChoiceMappableChoiceLink">
<csvchoiceName>Red</csvchoiceName>
<csvInstanceValue/>
<csvExclude/>
</csvChoiceMappableChoiceLink>

<csvChoiceMappableChoiceLink
handler="com.ptc.windchill.option.load.Loader.createChoiceMappableChoiceLink">
<csvchoiceName>Glossy</csvchoiceName>
<csvInstanceValue/>
<csvExclude/>
</csvChoiceMappableChoiceLink>

<csvEndNavFilter handler="com.ptc.windchill.option.load.Loader.endCreateNavFilter"/>