Documentation Center

Migrating Template Building Blocks

If you are upgrading from SmartTarget 2011 SP3 and older, it is recommended to upgrade your Template Building Blocks and TCDL code as support for these is deprecated.

Upgrading default Template Building Blocks

The following table describes how to upgrade your old Template Building Blocks to the new ones:

Template Building Block in SmartTarget 2011 SP3 and olderEquivalent Template Building Blocks in 2014 and higher
Add SmartTarget search promotionUse the following Template Building Blocks:
  • Add SmartTarget Query
  • Search SmartTarget
  • Add Promotions
  • Apply SmartTarget Settings
Add SmartTarget item promotionCreating an Item Promotion is no longer directly supported
Add SmartTarget facet promotionCreating a Facet Promotion is no longer directly supported
Set SmartTarget Page ViewCreating a Page View Promotion is no longer supported

Upgrading TCDL code

In SmartTarget 2014 and higher new default Template Building Blocks implement Seach and Navigation functionality that you would previously implement by adding TCDL code to your templates. Consider replacing TCDL code with the new Template Building Blocks:

FunctionalityImplementation in SmartTarget 2011 SP3 and olderImplementation in 2014 and higher
Navigation<tcdl:navigation> tags in Dreamweaver TemplatesTo generate navigation links in your published Web pages, use the following Template Building Blocks:
  • Add SmartTarget Query
  • Show SmartTarget Navigation
  • Apply SmartTarget Settings
Search<tcdl:items> and <tcdl:search> tags in Dreamweaver TemplatesTo implement search in your published Web pages, use the following Template Building Blocks:
  • Add SmartTarget Query
  • Search SmartTarget
  • Show SmartTarget Items
  • Apply SmartTarget Settings