Documentation Center

Creating new Components

To create Components that are a different type than already on the Page, use the tcdl:SiteEditNewComponent tag available for Page Templates.

For example:

<tcdl:SiteEditNewComponent schema="schemaURI" folder="folderURI"
template="templateURI" name="componentName"/>

where

schema
is the URI of the Schema on which to base the new Component
folder
is the URI of the Folder in which the new Component is to be stored
name
is a unique name for this Component Type, to be displayed in the Create Component menu (defaults to the Schema description if left empty)
template
is the URI of the Component Template that will be used to visualize the Component on the Page.