Documentation Center

Creating Compound Page Templates in Template Builder

To implement Experience Optimization Promotion functionality on your webpages, you need to add Experience Optimization Template Building Blocks (TBBs) to Compound Page Templates.

Before you begin

Creating templates requires the following:

  • Template Builder is installed.
  • You have Template Management rights.
  • You have write permissions for the Folder in which you intend to create the template.

Procedure

  1. From the Windows Start menu (or from the Tools menu of the Content Manager Explorer), open Template Builder.
  2. Click the New Compound Template button.
  3. In the New Compound Template dialog, do the following:
    • Under Content Manager, specify the Content Manager in which you want to create this Compound Template by selecting or typing the URL of the Content Manager Explorer website. Click Go to see the list of Publications in this Content Manager (Template Builder may prompt you for a user name and password at this point).
    • Under Select Location, select a Publication, then locate and select the Folder in that Publication in which you intend to create the Compound Template.
    • Under Name, enter a name for your Compound Template, for example: ExperienceOptimizationPageTemplate.
    • Under Type, select Page Template.
    • Click OK.
    The Template Builder creates and opens a New Compound Template of type Page Template.
  4. From the Building Blocks pane, expand the Experience Optimization list of TBBs.
  5. Drag Experience Optimization TBBs into your Page Template.
    Refer to the reference topic for an explanation of each TBB.
  6. Run and debug the template:
    • Debug > Run with Page—Choose this option if it is the first time you are running the Compound Template (you are prompted to select a Page).
    • Debug > Run—Choose this option is you have previously selected a Page.
    During and after the Compound Template run, Template Builder displays:
    • An item called Input above the first Template Building Block in the sequence.
    • Next to the Template Building Block it is now executing, a yellow bar next to it with the text Running... over it
    • If a Template Building Block was successfully executed, a green bar next to it
    • If a Template Building Block failed to execute successfully, a red bar next to it
    • The time spent executing each Template Building Block