Documentation Center

Changes to smarttarget_conf.xml introduced in SmartTarget 2014

The smarttarget_conf.xml file has changed in SDL Web Experience Optimization 8. 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 the smarttarget_conf.xml configuration file.
Changes to smarttarget_conf.xml: <Fredhopper><Webservice>
The <Fredhopper><Webservice> section of the smarttarget_conf.xml file has been split into <IndexServer> and <QueryServer> subsections, and the <Location> moved into this section:
SmartTarget 2011 SP3SDL Web Experience Optimization 8
<Location></Location>
<Webservice>
            <Server>http://localhost:8180/</Server>
            <Username></Username>
            <Password></Password>
            <Timeouts>
                <Query>200</Query>
                <Triggers>5000</Triggers>
                <Localization>5000</Localization>
            </Timeouts>
</Webservice>
<IndexServer>
	 <Url></Url>
  <Authentication>
     <Username></Username>
     <Password></Password>
  </Authentication>
  <Deployment>	
			    <Location></Location>
			    <InstanceName></InstanceName>
      <KettleJobName></KettleJobName>
	 </Deployment>
 <Timeouts>
    <BatchActions>30000</BatchActions>
    <Localization>5000</Localization>
    <Promotions>5000</Promotions>
    <Triggers>5000</Triggers>
    <Deployment>30000</Deployment>
 </Timeouts>
</IndexServer>
The following table describes the new elements in SmartTarget 2014:
ElementDescription
<Url>The fully-qualified domain name and port number of the machine where the SmartTarget Deployment Web service is running.

(Replaces the <Server> element.)

<InstanceName>The name of your Index Server instance, as defined in your Fredhopper topology.txt file.
<KettleJobName>The name of your kettle job on the Index Server. SmartTarget provides a default job: STJob.kjb.
<BatchActions>The maximum time to take for batched actions such as the reordering of Promotions.
<Promotions>The maximum time to take retrieving the list of triggers from Fredhopper, as defined in the trigger-types.xml file.
<Deployment>The maximum time to take deploying content to Fredhopper Access Server running in a hosted environment.
Changes to smarttarget_conf.xml: <Fredhopper><Regions>
The <Fredhopper><Regions> section is a new section in the smarttarget_conf.xml file:
<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>