Database tables and API classes

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

The following database tables are used to store widget data:

 

CMS_Widget - contains widgets and their settings
CMS_WidgetCategory - contains widget categories and information about them
CMS_WidgetRole - assigns roles and their permissions to widgets

 

The data about the configuration and placement of individual instances of widgets on page templates is stored in the CMS_PageTemplate table.

 

The widgets API is provided by the following CMS.PortalEngine namespace classes:

 

WidgetInfo, WidgetInfoProvider - these classes provide functionality for managing widgets
WidgetCategoryInfo, WidgetCategoryInfoProvider - this class provides functionality for managing widget categories

 

The following topics show examples of how these classes can be used:

 

Getting widget data
Managing widgets and their categories
Setting widget permissions

 

The API programming and Kentico CMS internals section of this guide contains more API related information, so please refer to it if required.

 

For detailed API documentation, such as a list of all methods from the classes above, please refer to Kentico CMS API Reference that is a part of your Kentico CMS installation and can be accessed through the programs folder in Windows Start menu.

 

Page url: http://devnet.kentico.com/docs/5_5r2/devguide/index.html?widgets_database_tables_and_api_classes.htm