Documentation Center

Configuring Content Deployer

By default, the SmartTarget installer for Content Delivery configures Content Deployer for SmartTarget. If you declined this option, you need to configure the cd_deployer_conf.xml file manually—you need to add SmartTarget Modules to the Deploy and Undeploy <Processor> elements, and configure the TCDL engine for SmartTarget tags.

Procedure

  1. Open the cd_deployer_conf.xml configuration file, by default located in your %TRIDION_HOME%\config directory, in a text editor.
  2. Add the following <Module> element to the Processor Action="Deploy":
    <Processor Action="Deploy" Class="com.tridion.deployer.Processor" Phase="post-transaction">
          <Module Type="SmartTargetDeploy" Class="com.tridion.smarttarget.deployer.FredhopperDeployerModule">
            <Transformer Class="com.tridion.deployer.TCDLTransformer"/>
          </Module>
    </Processor>
  3. Add the following <Module> element to the Transactional Processor Processor Action="Undeploy":
    <Processor Action="Undeploy" Class="com.tridion.deployer.Processor" Phase="post-transaction">
          <Module Type="SmartTargetUndeploy" Class="com.tridion.smarttarget.deployer.FredhopperUndeployModule"/>
    </Processor>
  4. If you have SDL Archive Manager installed, you can add SmartTarget <module>s to the Transactional Processor as follows
    1. Add the following <Module> element to the Transactional Processor Processor Action="Deploy":
      <Processor Action="Deploy" Class="com.tridion.archiving.processors.TransactionalProcessor" Phase="post-transaction">
         <Module Type="SmartTargetDeploy" Class="com.tridion.smarttarget.deployer.FredhopperDeployerModule">
               <Transformer Class="com.tridion.deployer.TCDLTransformer"/>
         </Module>
      </Processor>
    2. Add the following <Module> element to the Transactional Processor Processor Action="Undeploy":
      <Processor Action="Undeploy" Class="com.tridion.archiving.processors.TransactionalProcessor" Phase="post-transaction">
         <Module Type="SmartTargetUndeploy" Class="com.tridion.smarttarget.deployer.FredhopperUndeployModule"/>			
      </Processor>
  5. Add the following to the <TCDLEngine> section:
    <TCDLEngine>
    	<TagBundle Resource="com/tridion/smarttarget/tcdl/tagbundle.xml" />
    </TCDLEngine>

    where Resource specifies a relative or absolute path to the tagbundle.xml file which contains SmartTarget specific tags.

  6. Save and close cd_deployer_conf.xml.

Results

You have configured the Content Deployer for SmartTarget.