ContentPersonalizationVariantInfoProviderLoadContentPersonalizationVariantsInternal Method |
Loads the Content personalization variants for the specified instance (web part/zone/widget) running in the current
DocumentContext.
Return true, if the variants were successfully loaded.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 12.0.0
Syntax protected virtual bool LoadContentPersonalizationVariantsInternal(
Object instance,
bool isZone,
int documentId
)
Parameters
- instance
- Type: SystemObject
The zone instance of web part instance - isZone
- Type: SystemBoolean
Indicates if the parameter instance object is a zone - documentId
- Type: SystemInt32
Document ID if the instance holds a widget
Return Value
Type:
BooleanTrue, if the variants were successfully loaded. False, if it was not possible to load variants, for example due to missing information in the instance.
See Also