Step 5: Adding Experience Optimization to Content Deployer
Add resources to your Content Deployer Role, and update its configuration, in order to ensure that you can publish to Fredhopper.
Procedure
- On the SDL Web installation media, navigate to Experience Optimization\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 deployer-conf.xml for editing.
- Add the following
Pipelinesection for deployment below the lastPipelinesection in the file:<Pipeline Id="Tridion-Process-PostCommit" Action="Deploy" Verb="Process"> <Steps> <Step Id="SmartTargetDeploy" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory"> <Module Class="com.tridion.smarttarget.deployer.FredHopperDeployerModule" Type="SmartTargetDeploy"> <Transformer Class=com.tridion.deployer.TCDLTransformer" /> </Module> </Step> </Steps> </Pipeline> - Add the following
Pipelinesection for undeployment the section you just added:<Pipeline Id="Tridion-Undeploy-PostCommit" Action="Undeploy" Verb="Process"> <Steps> <Step Id="SmartTargetUndeploy" Factory="com.sdl.delivery.deployer.steps.TridionExecutableStepFactory"> <Module Class="com.tridion.smarttarget.deployer.FredHopperUndeployModule" Type="SmartTargetUndeploy" /> </Step> </Steps> </Pipeline> - Save and close deployer-conf.xml.
- Open tcdl-conf.xml for editing.
- Add the following to the
<TCDLEngine>section:<TCDLEngine> <TagBundle Resource="com/tridion/smarttarget/tcdl/tagbundle.xml" /> </TCDLEngine>where the value of
Resourceis a relative or absolute path to thetagbundle.xmlfile which contains Experience Optimization-specific tags. - Save and close tcdl-conf.xml.