You can use item mappings to exclude properties or categories of properties from site categories. For example, to exclude Commerce properties from appearing on any tab, specify excludedCategories=commerce in the ItemMapping AttributesValues. You can also use the excludeProperties attribute to prevent specific properties from appearing.

To exclude properties from appearing on a specific tab, use the ItemViewMapping AttributeValues excludeProperties and excludeCategories attributes.

For example:

<set-property name="attributeValues">
  <![CDATA[resourceBundle=AmAvSiteBnd,excludedProperties=
  aMgrAvSiteCategoryNewExcludedProps]]></set-property>
</add-item>

<add-item item-descriptor="attributeValue"
  id="aMgrAvSiteCategoryNewExcludedProps">
  <set-property name="value">
    <![CDATA[siteDownURL,preOpeningURL,siteIcon]]></set-property>

Note: If a property is set as required, but excluded from a site category, you will not be able to deploy or create sites. Ensure that all properties that you exclude from a category are not also set as required.

The exclude attributes are a comma separated list of properties with no spaces between the properties. For example:

ancestorCategories,catalogsRelatedProducts,computedCatalogs

Important: When a property is excluded, no value for that property will be included in the site configurations. If, however, a default value for a property has been set at the repository level the value will be included in the site configuration even though the property may have been excluded from the site category. It is an ATG best practice to avoid setting default values for site properties at the repository level.