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
- 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.
- In the
<DefaultValues> section of the smarttarget_conf.xml configuration file, set <AllowDuplicates> to true or false:
true—Promotions already in the output of preceding regions on this Page may also be displayed in this page region.
false—Promotions already in the output of preceding regions will be filtered out of the results.
<DefaultValues>
<AllowDuplicates>true</AllowDuplicates>
</DefaultValues>
- 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.