Managed Variant Specification
When you create a variant specification in the context of a Product Family as a child of a product model, it is categorized as a managed variant specification. A managed variant specification is defined by meta data and option filter.
Has a configurable module and the option set is inferred from its assigned Option Set.
Does not directly have a configuration specification but may use an associated variant baseline.
Has an Option Filter. However, it does not have any other filters.
The configuration specification for the Option Filter can be undefined (latest) or specified using one or more definitions.
XML Format
<csvProductFamilyMember handler="wt.productfamily.LoadProductFamilyMember.createProductFamilyMember">
<csvpfmName>NAME_OF_VARIANT_SPEC</csvpfmName>
<csvpfmNumber>NUMBER_OF_VARIANT_SPEC</csvpfmNumber>
<csvpfmType>WCTYPE| com.ptc.wpcfg.doc.VariantSpec</csvpfmType>
<csvtopPFNumber>NUMBER_OF_PRODUCT_FAMILY</csvtopPFNumber>
<csvversion>VERSION</csvversion>
<csviteration>ITERATION</csviteration>
<csvcontainerPath>CONTAINER_PATH</csvcontainerPath>
<csvnavcriteria>NavCriteria001</csvnavcriteria>
<csvdescription>DESCRIPTION</csvdescription>
<csvfolder></csvfolder>
<csvcreatevariants>FALSE</csvcreatevariants>
</csvProductFamilyMember>
Attributes
Attribute
Description
Required or Optional
csvpfmName
Name of the Managed Variant Specification.
Optional
csvpfmNumber
Number of the Managed Variant Specification.
Optional
csvpfmType
Type definition of the Managed Variant Specification. This must be of either class VariantSpec or its subtype.
Required
csvtopPFNumber
Number of Product Family to associated the Managed Variant Specification with.
Required
Csvversion
Version of the Managed Variant Specification.
Optional
csviteration
Iteration of the Managed Variant Specification.
Optional
csvcontainerPath
Container path (for example, product), in which the Managed Variant Specification will reside.
Optional
csvnavcriteria
Name of the Navigation criteria that is loaded using the csvNavigationCriteria tag in the loadfile.
Optional
csvdescription
Description of the Managed Variant Specification.
Optional
csvfolder
Folder location of the Managed Variant Specification.
Optional
csvcreatevariants
Indicator (true or false) to determine whether variants must be generated from this variant specification.
Optional
Example
<csvProductFamilyMember handler="wt.productfamily.LoadProductFamilyMember.createProductFamilyMember">
<csvpfmName>ManagedVariantSpec001</csvpfmName>
<csvpfmNumber>ManagedVariantSpec001</csvpfmNumber>
<csvpfmType>WCTYPE|com.ptc.wpcfg.doc.VariantSpec</csvpfmType>
<csvtopPFNumber>ProductFamily001</csvtopPFNumber>
<csvversion>A</csvversion>
<csviteration>1</csviteration>
<csvcontainerPath>/wt.inf.container.OrgContainer=ComputerVision_CustomOrg/wt.pdmlink.PDMLinkProduct=CustomProduct</csvcontainerPath>
<csvnavcriteria>NavCriteria001</csvnavcriteria>
<csvdescription>This is MVS with Create Variant as False</csvdescription>
<csvfolder></csvfolder>
<csvcreatevariants>FALSE</csvcreatevariants>
</csvProductFamilyMember>
Isto foi útil?