PortalFormHelperGetWidgetFormInfo Method |
Returns cached and merged FormInfo for widgets.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax public static FormInfo GetWidgetFormInfo(
string widgetName,
string zoneType,
string widgetProperties,
FormInfo zoneTypeDefinition,
bool clone,
string defaultValues = ""
)
Parameters
- widgetName
- Type: SystemString
Name of the widget - zoneType
- Type: SystemString
Type of the zone where widget is placed - widgetProperties
- Type: SystemString
Widget properties - zoneTypeDefinition
- Type: CMS.FormEngineFormInfo
FormInfo for Before or After section - clone
- Type: SystemBoolean
When returned FormInfo is used only for reading then cloning can be set to FALSE - defaultValues (Optional)
- Type: SystemString
XML definitions with overridden system default values
Return Value
Type:
FormInfoReturns FormInfo object
See Also