Option Filter Configuration Specification
The Option Filter Configuration Specification controls the versions of the choice rules, expression aliases, and independent assigned expressions for an Option Filter. Each variant specification requires an Option Filter Configuration Specification.
Option Filter Configuration Specifications are part of Option Filter. Thus, while loading, the Option Filter Configuration Specifications must be within ATO Navigation Filter section of the loader. That means, they must be included after the csvBeginNavFilter tag and before the csvEndNavFilter tag.
XML Format
<csvBeginOptionFilterConfigSpecs handler="com.ptc.windchill.option.variantspec.loader.ATORuleConfigSpecXMLLoader.beginConfigSpecsHandle">
<csveffectivityformat>yyyy-MM-dd</csveffectivityformat>
/csvBeginOptionFilterConfigSpecs>
<csvOptionFilterConfigSpec handler ="com.ptc.windchill.option.variantspec.loader.ATORuleConfigSpecXMLLoader.loadConfigSpec">
<csvconfigspecname>atoConfigSpec1</csvconfigspecname>
<csvlifecyclestate>RELEASED</csvlifecyclestate>
</csvOptionFilterConfigSpec>
<csvOptionFilterConfigSpec handler ="com.ptc.windchill.option.variantspec.loader.ATORuleConfigSpecXMLLoader.loadConfigSpec">
<csvconfigspecname>atoConfigSpec2</csvconfigspecname>
<csveffectivitydate>2020-04-17</csveffectivitydate>
</csvOptionFilterConfigSpec>
<csvEndOptionFilterConfigSpecs handler="com.ptc.windchill.option.variantspec.loader.ATORuleConfigSpecXMLLoader.endConfigSpecsHandle"/>
Attributes for the Option Filter Configuration Specification
Attribute
|
Description
|
Required or Optional?
|
Csveffectivityformat
|
Format for specifying effectivity date. If not specified, effectivity date will be validated against windchill session locale format.
|
Optional
|
Csvconfigspecname
|
Name of the configuration specification.
|
Optional
|
Csvlifecyclestate
|
Expected lifecycle state of the configuration specification.
|
Optional
|
Csveffectivitydate
|
Expected effectivity date for the configuration specification.
|
Optional
|
Example
<csvBeginNavFilter handler="com.ptc.windchill.option.load.Loader.beginCreateNavFilter">
<csvoptionSet>CustomOptionSet001</csvoptionSet>
<csvfilterMode></csvfilterMode>
<csvBeginOptionFilterConfigSpecs handler="com.ptc.windchill.option.variantspec.loader.ATORuleConfigSpecXMLLoader.beginConfigSpecsHandle">
<csveffectivityformat>yyyy-MM-dd</csveffectivityformat>
/csvBeginOptionFilterConfigSpecs>
</csvBeginNavFilter>
<csvOptionFilterConfigSpec handler ="com.ptc.windchill.option.variantspec.loader.ATORuleConfigSpecXMLLoader.loadConfigSpec">
<csvconfigspecname>atoConfigSpec1</csvconfigspecname>
<csvlifecyclestate>INWORK</csvlifecyclestate>
</csvOptionFilterConfigSpec>
<csvOptionFilterConfigSpec handler ="com.ptc.windchill.option.variantspec.loader.ATORuleConfigSpecXMLLoader.loadConfigSpec">
<csvconfigspecname>AtoConfigSpec2</csvconfigspecname>
<csveffectivitydate>2020-04-17</csveffectivitydate>
</csvOptionFilterConfigSpec>
<csvEndOptionFilterConfigSpecs handler="com.ptc.windchill.option.variantspec.loader.ATORuleConfigSpecXMLLoader.endConfigSpecsHandle"/>
<csvEndNavFilter handler="com.ptc.windchill.option.load.Loader.endCreateNavFilter"/>
Related information