Creating items to run against
Each type of Template needs a content item to run against: you need to run a Page Template against a Page, a Component Template against a Component and a Template Building Block against a package.
- Creating Pages and Components
- You can run a Template against an existing Page or Component, or you can create a Page or a Component in Content Manager Explorer. You need to make sure to create an item that has a format the Template expects. For example, if your Page Template contains a Dreamweaver Template Building Block that visualizes the Description metadata field of the Page, then obviously, the Page you create must have a metadata field called Description.
- Creating packages
-
To create a package for your Template as Template Building Block to process, you must first build a Template that produces the package that your Template as Template Building Block expects as input. When you have created such a Template and it successfully produces the package you need, you can run the Template that produces the package in Template Builder (as explained in Running a Template), select the last Template Building Block in the sequence, and click the Save Package button in Package view: