PortalFormHelperGetWidgetFormInfo Method |
Returns cached and merged FormInfo for widgets.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax 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:
FormInfoReturns FormInfo object
See Also