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.

CMS_WebPartContainer

Stores records representing web part containers.

CMS_WebPartContainerSite

Stores relationships between web part containers and sites. Each entry indicates that a specific container can be used on a given site.

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

Represents web part categories.

WebPartCategoryInfoProvider

Provides management functionality for web part categories.

CMS_WebPart table API

WebPartInfo

CMS.PortalEngine

Represents individual web part objects.

WebPartInfoProvider

Provides management functionality for web part objects.

CMS_WebPartLayout table API

WebPartLayoutInfo

CMS.PortalEngine

Represents custom web part layouts.

WebPartLayoutInfoProvider

Provides management functionality for web part layouts.

CMS_WebPartContainer table API

WebPartContainerInfo

CMS.PortalEngine

Represents web part containers.

WebPartContainerInfoProvider

Provides management functionality for web part containers.

CMS_WebPartContainerSite table API

WebPartContainerSiteInfo

CMS.PortalEngine

Represents relationships between web part containers and sites.

WebPartContainerSiteInfoProvider

Provides management functionality for container-site relationships.

Other classes

WebPartInstance

CMS.PortalEngine

Allows you to work with web part instances.

WebPartZoneInstance

Allows you to work with web part zones.