Upgrading smarttarget_conf.xml file
Run the configuration_upgrade.jar file to upgrade your smarttarget_conf.xml file and add your <Region> names manually.
Before you begin
For an overview of the changes, see Changes to smarttarget_conf.xml
Procedure
- Back up your
smarttarget_conf.xmlconfiguration file—for example, create a copy of the file calledsmarttarget_conf_old.xml. - Open a command prompt.
- Access the SmartTarget installation media.
- Access the
Migration\directory. - Run the
configuration_upgrade.jarusing the following command:
wherejava -jar configuration_upgrade.jar "/filepath/smarttarget_conf.xml"filepathspecifies the location to yoursmarttarget_conf.xmlfile.A
smarttarget_conf.xml.upgradedfile is created containing old settings migrated to a new file. - Open
smarttarget_conf.xml.upgradedin a text editor and check the migrated settings. - In the
<IndexServer>element, change the<Location>setting as this has changed (SmartTarget deployment now makes use of the Fredhopper Deployment Agent):The following is an example of oldsmarttarget_conf.xmlsetting:<Location>c:/fredhopper/instance01/FAS/data/xml/incoming/batch/</Location>The following is an example of the newsmarttarget_conf.xmlsetting:<Location>c:/fredhopper/indexer/data/fas-xml-incremental/catalog01</Location> - In the
<Regions>element, add the names (case-sensitive) of your Page Regions. For example:<Regions> <Region>Header</Region> <Region>Footer</Region> <Region>Sidebar</Region> <Region>Inset 1</Region> <Region>Inset 2</Region> </Regions>Note: In previous versions of SmartTarget, you needed to add the ID values of the SmartTarget page regions to a custom field in the Business Manager. - Save
smarttarget_conf.xml.upgradedassmarttarget_conf.xml. - Copy
smarttarget_conf.xmlto the following locations:Application using smarttarget_confFile path Content Delivery server %TRIDION_HOME%\config .NET Web application (Presentation Server) bin\config Java Web application (Presentation Server) WEB_INF/classes SmartTarget Deployment Web service bin\config Content Delivery Web service (for each Fredhopper system) bin\config or WEB_INF/classes