Click or drag to resize
PortalFormHelperGetWidgetFormInfo Method
Returns cached and merged FormInfo for widgets.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
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: FormInfo
Returns FormInfo object
See Also