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

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
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