IABTestManagerAddVariant Method |
Adds a new A/B test variant into page based on an existing source variant.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 12.0.0
Syntax IABTestVariant AddVariant(
TreeNode page,
Nullable<Guid> sourceVariantGuid
)
Parameters
- page
- Type: CMS.DocumentEngineTreeNode
Page for which to add a new variant. - sourceVariantGuid
- Type: SystemNullableGuid
GUID of the source variant (if null or Empty, original is assumed as the source).
Return Value
Type:
IABTestVariantReturns the new A/B test variant.
Exceptions See Also