Returns the MVT variant id for the specified template and code name.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- pageTemplateId
- Type: System Int32
The page template id
- variantName
- Type: System String
The variant code name
Return Value
Type: Int32See Also