Blueprint Developer Manual / Version 2512.1
Table Of Contents
The class ContentVariantModel defines, similar to
the SiteModel, the names of the content types and
properties used for personalization variants. You rarely need to change
the property names, unless they conflict with existing content type
extensions.
| Configuration key | Default | Description |
|---|---|---|
variant.model.baseProperty | base | Name of the property that holds the baseline content reference. |
variant.model.variantConditionProperty | variantCondition | Name of the struct property that holds the variant condition. |
variant.model.segmentsProperty | segments | Name of the property that holds the user segments that should see this variant. |
variant.model.segmentLinksProperty | segmentLinks | Name of the property that links to condition content items representing the segments. |
variant.model.abTestCaseProperty | abTestCase | Name of the property that holds the A/B test case whose users should see this variant. |
variant.model.abTestCaseLinkProperty | abTestCaseLink | Name of the property that holds a link to a condition content item representing the A/B test case. |
variant.model.abTestProperty | variantAbTest | Name of the property that holds the A/B test id. |
variant.model.abTestLinkProperty | variantAbTestLink | Name of the property that holds a link to a condition content item representing the A/B test. |
variant.model.abTestControlProperty | abTestControl | Name of the property that holds the A/B test control id. |
variant.model.abTestControlLinkProperty | abTestControlLink | Name of the property that holds a link to a condition content item representing the A/B test control. |
variant.model.priorityProperty | priority | Name of the property that holds the variant priority. |
Table 5.25. Content variant property names
You may need to mark additional content types added to the Blueprint as
either supporting or not supporting variants. By default, the subtypes
of CMLocalized support variants, with the
exception of CMFolderProperties,
CMImage, CMSettings,
CMResourceBundle, CMSite,
CMSitemap, CMSymbol,
CMTaxonomy, and CMTheme.
See variant-blueprint.properties for the default
configuration.
| Configuration key | Default | Description |
|---|---|---|
variant.model.type. | Inherited from super type, or false if not defined for any super type | Whether content items of this type can have variants. |
Table 5.26. Variant support per content type
You can also define stable properties, that is, properties that must not change between a baseline and its variants. A content type inherits the stable properties of its supertype and may define additional ones.
| Configuration key | Default | Description |
|---|---|---|
variant.model.stableProperties | None | A list of stable properties that apply to all content types. |
variant.model.stablePropertiesByType. | None | A list of stable properties that apply to this type and all its subtypes. |
Table 5.27. Stable property configuration


