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: 9.0.0
Syntax
C#
public static FormInfo GetWidgetFormInfo(
	string widgetName,
	WidgetZoneTypeEnum zoneType,
	string widgetPropertiesFormDefinition,
	bool clone,
	string defaultValuesFormDefinition = ""
)

Parameters

widgetName
Type: SystemString
Name of the widget
zoneType
Type: CMS.PortalEngineWidgetZoneTypeEnum
Type of the zone where widget is placed
widgetPropertiesFormDefinition
Type: SystemString
Widget properties form definition
clone
Type: SystemBoolean
When returned FormInfo is used only for reading then cloning can be set to FALSE
defaultValuesFormDefinition (Optional)
Type: SystemString
Form definition with overridden system default values

Return Value

Type: FormInfo
Returns FormInfo object
See Also