|
Guides (SDK /API) | Technical Reference | BBDN | How-to Documentation |
The SDK includes a project template to create a CMS Parts Project. The Parts project template creates an empty project with a reference the BBNCExtensions assembly, which is your key to the custom parts universe.
This Part template creates the scaffold of a CMS part that consists of three project items.
A web user control (ASCX) for the Display Control that provides the code and markup to render content on a web page.
A web user control (ASCX) for the Editor Control that creates a user interface to edit the part’s content.
A class to hold the part’s content/properties (optional).
To deploy the custom part to your website, you must copy its files to the appropriate folders on your web server and then add the part to the Custom parts gallery in Administration. You can configure post-build events in to copy the files. This is described in Adjust the Post-build Events.