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.1.5347.20411)
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
- variantDisplayCondition
- Type: System String
The variant display condition
- 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
- xmlWebParts
- Type: System.Xml XmlNode
Web parts xml
Return Value
Type: Int32See Also