Upgrading Template Building Blocks
The SmartTarget Template Building Blocks have changes slightly in SmartTarget 2014 SP1 so you will need to reload them in Template Builder as part of your upgrade. If you are upgrading from SmartTarget 2011 SP3, SP2, or SP1, additional steps are required.
About this task
- Changes to SmartTarget Template Building Blocks in SmartTarget 2014 SP1
-
In SmartTarget 2014 SP1, the Add SmartTarget Query Template Building Block now adds the
pageIdattribute to the<tcdl:query>tag outputted by the template so that you can filter the Page on Promotions (optional) and Experiments (required). - Changes to SmartTarget Template Building Blocks in SmartTarget 2014
- In SmartTarget 2014, all the default SmartTarget Template Building Blocks were changed, except Add to SmartTarget. If you are upgrading from SmartTarget 2011 SP3, SP2, or SP1, additional steps are required, to remain backwards compatible and ensure your existing templates work after upgrade, move your Template Building Blocks (except Add to SmartTarget) to a different Folder before updating the TBBs.
Procedure
- Open Content Manager Explorer.
- If you are upgrading from SmartTarget 2011 SP3, SP2, or SP1 only:
- Go to your Default Templates Folder and create a sub Folder called, for example, OLD SmartTarget Templates.
- Move all your old SmartTarget default Template Building Blocks, except Add to SmartTarget, to the OLD SmartTarget Templates Folder.
- Reload your default SmartTarget Template Building Blocks:
- Start Template Builder by selecting from the Windows menu.
- Select to load the SmartTarget (and other) default Template Building Blocks.
- Select the parent Folder which contains the Folder Default Templates and click OK.
Results
What to do next
If you are upgrading from SmartTarget 2011 SP3, SP2, or SP1, it is recommended to migrate your templates to use the new Template Building Blocks. Lest you forget, TBBs are versioned so you can roll back should problems occur.