Unternehmensverwaltung > Windchill Datenladen > Loading Data for Product Families and Options and Variants > Loading Data From XML > Standalone Variant Specification Associated with an Option Set
  
Standalone Variant Specification Associated with an Option Set
This variant specification is used to manage a fully-defined filter applicable to configurable modules or different view versions of the same configurable module associated with the same option set. As such, it does not support generating a variant solution or configuration context. It is created using the New Variant Specification process or is programmatically loaded. It can be updated using the Edit Variant Specification Filter action or is programmatically loaded. Unique to XML loading, rules processing is not applied and any selected choices in the Option Filter are considered user selected.
Requires Name and Location for creating and Number for updating the variant specification.
Requires an option set revision and will use the latest version for that revision.
May not have a configurable module.
Requires a part configuration specification, but provides the following defaults:
When no part configuration specification is specified, a latest configuration specification is used without a lifecycle state for the Design view.
When a part configuration specification is specified without a definition, a latest configuration specification is used without a life cyclestate for the Design view.
Requires a value for applying the configuration specification to the top level.
Requires configuration specification for the Option Filter. When no value is provided, a latest Configuration Specification is used without a lifecycle state.
Has the ability to refer to options and choices by Number or Name.
XML Format
<csvBeginVariantSpecification handler="com.ptc.windchill.option.variantspec.loader.VariantSpecificationLoader.beginVariantSpecifications"/>
<csvVariantSpecification handler="com.ptc.windchill.option.variantspec.loader.VariantSpecificationLoader.createVariantSpec">
<csvname>VS_Associated_With_OptionSet</csvname>
<csvnumber>00001</csvnumber>
<csvdescription>MBT Bike Variant Specification</csvdescription>
<csvfolder></csvfolder>
<csvnavcriteria>NAV_CRITERIA_1</csvnavcriteria>
<csvtypedef>com.ptc.wpcfg.CustomVariantSpec</csvtypedef>
</csvVariantSpecification>

<csvEndVariantSpecification handler="com.ptc.windchill.option.variantspec.loader.VariantSpecificationLoader.endVariantSpecifications"/>
Attributes for the Standalone Variant Specification
Attribute
Description
Required or Optional?
Csvname
Name of the variant specification.
Required
Csvnumber
Number of the variant specification.
Optional
Csvdescription
Description for the variant specification.
Optional
Csvfolder
Folder location for the variant specification.
Optional
Csvnavcriteria
Navigation criteria name that is mentioned in a separate section of the navigation criteria.
Required
Csvtypedef
Type definition for loading the variant specification.
Optional
Example
<csvBeginVariantSpecification handler="com.ptc.windchill.option.variantspec.loader.VariantSpecificationLoader.beginVariantSpecifications"/>
<csvVariantSpecification handler="com.ptc.windchill.option.variantspec.loader.VariantSpecificationLoader.createVariantSpec">
<csvname>VS1</csvname>
<csvnumber>00001</csvnumber>
<csvdescription>MBT Bike Variant Specification</csvdescription>
<csvfolder></csvfolder>
<csvnavcriteria>NAV_CRITERIA_1</csvnavcriteria>
<csvtypedef>com.ptc.wpcfg.CustomVariantSpec</csvtypedef>
</csvVariantSpecification>

<csvEndVariantSpecification handler="com.ptc.windchill.option.variantspec.loader.VariantSpecificationLoader.endVariantSpecifications"/>