Documentation Center

<DefaultValues> element

The <DefaultValues> child element <AllowDuplicates> is a Boolean to configure whether to display content items already displayed in preceding regions on a Web page. The <DefaultValues> element is a Presentation Server setting.

Procedure

  1. Open the smarttarget_conf.xml configuration file:
    • In a Java Web application, the file is located in the classes/ subdirectory of your Web application.
    • In a .NET Web application, the file is located in the config\ subdirectory of your Web application.
  2. In the <DefaultValues> section of the smarttarget_conf.xml configuration file, set <AllowDuplicates> to true or false:
    • truePromotions already in the output of preceding regions on this Page may also be displayed in this page region.
    • falsePromotions already in the output of preceding regions will be filtered out of the results.
    <DefaultValues>
        <AllowDuplicates>true</AllowDuplicates>
    </DefaultValues>
  3. Save and close smarttarget_conf.xml.

Results

The default value is used when the Allow duplicates across regions property in the following Template Building Blocks is set to Use configuration in the Add SmartTarget QueryExperience Optimization Template Building Block. Setting the property to Yes or No in the Template Building Block overrides the default setting.