Web part internals and API
Database tables
Database table | Description |
CMS_WebPartCategory | Stores records representing web part categories. |
CMS_WebPart | Stores records representing web parts, their configuration, and properties. |
CMS_WebPartLayout | Stores custom layouts for web parts. |
Web part instance storage
Web part zones, web part instances, and their configuration are part of the content of page templates. The system stores the data in XML format inside the PageTemplateWebParts column of the CMS_PageTemplate table.
API classes
Class | Namespace | Description |
CMS_WebPartCategory table API | ||
WebPartCategoryInfo | CMS.PortalEngine.Web.UI | Represents web part categories. |
WebPartCategoryInfoProvider | Provides management functionality for web part categories. | |
CMS_WebPart table API | ||
WebPartInfo | CMS.PortalEngine.Web.UI | Represents individual web part objects. |
WebPartInfoProvider | Provides management functionality for web part objects. | |
CMS_WebPartLayout table API | ||
WebPartLayoutInfo | CMS.PortalEngine.Web.UI | Represents custom web part layouts. |
WebPartLayoutInfoProvider | Provides management functionality for web part layouts. | |
Other classes | ||
WebPartInstance | CMS.PortalEngine.Web.UI | Allows you to work with web part instances. |
WebPartZoneInstance | Allows you to work with web part zones. |