Saves the variant and generates new combinations if the variant is new.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- variantId
- Type: System Int32
The variant id
- variantName
- Type: System String
Name of the variant
- variantDisplayName
- Type: System String
Display name of the variant
- variantDescription
- Type: System String
The variant description
- variantEnabled
- Type: System Boolean
Indicates whether the variant is enabled
- zoneId
- Type: System String
The zone id
- instanceGuid
- Type: System Guid
The instance GUID
- pageTemplateId
- Type: System Int32
The page template id
- documentId
- Type: System Int32
The document id
- webPartsXml
- Type: System String
Web parts xml string
Return Value
Type: Int32See Also