Step 5: Adding Experience Optimization to Content Deployer
Add resources to your SDL Web Content Deployer Server Role, and update its configuration, in order to ensure that you can publish to Fredhopper. Then
Procedure
- On the Experience Optimization installation media, navigate to Content Delivery\roles\deployer\experience-optimization\.
- On the machine on which you run Content Deployer, navigate to the Content Deployer library folder.
- Copy all files from the installation media folder to the Content Deployer library folder.
- On the machine on which you run Content Deployer, navigate to the Content Deployer configuration folder.
- From the installation media folder Content Delivery\resources\samples\, copy smarttarget_conf.xml to the Content Deployer configuration folder.
- On the target location, open smarttarget_conf.xml for editing.
- In the
<IndexServer>section, do the following:- Set the value of the
Urlsubelement to the value http://HOST:8180, where HOST is the host name of the machine on which the Fredhopper Index Server runs. - In the
Authenticationsubsection, specify valid values for theUsernameandPasswordsubelements. - In the
Deploymentsubsection, setLocationto the full path of the folder in which packages for Fredhopper should be placed, for example, c:/fredhopper/ExperienceOptimization/data/fas-xml-incremental/catalog01. Also, setInstanceNameto the name you gave to your Index Server, and setKettleJobNameto the filename of the Kettle job you placed in Fredhopper, that is, STJob.kjb.
- Set the value of the
- Save and close smarttarget_conf.xml.
- In the Content Deployer configuration folder, open cd_deployer_conf.xml for editing.
- Inside the
<Processors>section, insert the following twoProcessorelements:<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> <Processor Action="Deploy" Class="com.tridion.deployer.Processor" Phase="post-transaction"> <Module Type="SmartTargetDeploy" Class="com.tridion.smarttarget.deployer.FredhopperUndeployModule" /> </Processor> - Inside the
<TCDLEngine>section, add the followingTagBundleelement:<TagBundle Resource="com/tridion/smarttarget/tcdl/tagbundle.xml" />