The default site category itemMapping element is configured with the ID="SaImSiteDefaultSiteCategory” and Name="SiteCategoryDefault" settings. When you add a site configuration, you can create an additional ItemMapping. However, you must enable the Custom Search Content Editor by registering it within your viewmappings.xml file and importing it using the startSQLRepository utility. For information on importing repository data, refer to the ATG Repository Guide.

For example:

<update-item item-descriptor="itemViewMapping"
  id="SaIvmSiteNewSiteCategory">
  <set-property name="propertyMappings"
    add="true"><![CDATA[searchContents=SaPvmSiteCntnt]]></set-property>
</update-item>

When working with content sets, includeContentSets and excludeContentSets attributes must be defined in a propertyView that uses the Search Content Editor. To create several site categories with different content sets that use the include or exclude attributes, you must define separate propertyView and propertyViewMappings for each site category. For information on content sets, refer to the ATG Search Installation and Configuration Guide.