Generated Content Types
By default, Content Types are automatically generated for each unique Schema of a Component on the current Page, using the Component Template and Folder used by the first Component based on that Schema on the current Page. The name of the generated Content Type is identical to the name of the Schema.
For example, assume that a Page in Content Manager contains Component Presentations with the following properties:
| # | Schema of Component | Component Template used | Folder where Component is stored |
|---|---|---|---|
| 1 | PressRelease | FullPR_CT | \Building Blocks\PRs\ |
| 2 | Article | FullArt_CT | \Building Blocks\Articles\ |
| 3 | PressRelease | FullPR_CT | \Building Blocks\PRs\2012\ |
| 4 | Article | Summary_Art_CT | \Building Blocks\Articles\ |
Two Content Types will now be created, PressRelease and Article. Users who select to create a Component of Content Type PressRelease will get their Component stored in the \Building Blocks\PRs\ folder (because that is where the first Component based on the PressRelease Schema is stored) and rendered using the FullPR_CT Component Template. Users who select to create a Component of Content Type Article will get their Component stored in the \Building Blocks\Articles\ folder and rendered using the FullArt_CT Component Template (because that is how the first Component based on the Article Schema is rendered).