PortalFormHelperGetWidgetFormInfo Method |
Returns cached and merged FormInfo for widgets.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 11.0.0
Syntaxpublic 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