PortalFormHelper GetWebPartFormInfo Method Kentico 8.0 API Reference
Returns cached and merged FormInfo for web parts.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

webPartName
Type: OnlineSystem String
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: OnlineSystem String
XML schema for web part FormInfo
beforeDefinition
Type: CMS.FormEngine FormInfo
FormInfo for Before definition of the web part
afterDefinition
Type: CMS.FormEngine FormInfo
FormInfo for After definition of the web part
clone
Type: OnlineSystem Boolean
When returned FormInfo is used only for reading then cloning can be set to FALSE
defaultValues (Optional)
Type: OnlineSystem String
XML definitions with overriden system default values

Return Value

Type: FormInfo
Returns FormInfo object
See Also