PortalFormHelperGetWebPartFormInfo Method |
Returns cached and merged FormInfo for web parts.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax public static FormInfo GetWebPartFormInfo(
string webPartName,
string webPartProperties,
FormInfo beforeDefinition,
FormInfo afterDefinition,
bool clone,
string defaultValues = ""
)
Parameters
- webPartName
- Type: SystemString
Name of the web part. Use suffix FormHelper.CORE to set different name for form info which doesn't contain before/after definitions - webPartProperties
- Type: SystemString
XML schema for web part FormInfo - beforeDefinition
- Type: CMS.FormEngineFormInfo
FormInfo for Before definition of the web part - afterDefinition
- Type: CMS.FormEngineFormInfo
FormInfo for After definition of the web part - 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:
FormInfoReturns FormInfo object
See Also