Changes to smarttarget_conf.xml
The smarttarget_conf.xml file has changed in SmartTarget 2014. You can upgrade your smarttarget_conf.xml using the configuration_upgrade.jar file.
The following sections describe the configuration changes to the smarttarget_conf.xml file:
- Encrypting sensitive strings
-
Use the SDL Tridion command line tool to encrypt the
<password>fields (for Index Server and Query Server) in thesmarttarget_conf.xmlconfiguration file. -
Changes to
smarttarget_conf.xml:<Fredhopper><Webservice> -
The
<Fredhopper><Webservice>section of thesmarttarget_conf.xmlfile has been split into<IndexServer>and<QueryServer>subsections, and the<Location>moved into this section: -
Changes to
smarttarget_conf.xml:<Fredhopper><Regions> -
The
<Fredhopper><Regions>section is a new section in thesmarttarget_conf.xmlfile:<Regions> <Region>Header</Region> <Region>Footer</Region> <Region>Sidebar</Region> <Region>Inset 1</Region> <Region>Inset 2</Region> </Regions> -
Changes to
smarttarget_conf.xml:<Placeholder> -
SmartTarget now supports REL (Render Engine Language) output format (as well as Java and .NET). To use REL, you need to update your Component Templates and Publication Targets and configure
smarttarget_conf.xml. In the<Replace>section, add a<Rel>replacements section:<Placeholder> <Pattern>##(.+?)##</Pattern> <Replace> <Rel> <Default>#{$1}</Default> <ComponentPresentation>#{item.$1}</ComponentPresentation> <NavigationSection>#{navigationSection.$1}</NavigationSection> <NavigationSectionHeader>#{navigationSection.$1}</NavigationSectionHeader> <NavigationSectionFooter>#{navigationSection.$1}</NavigationSectionFooter> <NavigationLink>#{navigationLink.$1}</NavigationLink> <ItemTemplate>#{item.$1}</ItemTemplate> </Rel> </Replace> </Placeholder>