You can reference a site that is based on a specific site type. For example, when working with an ATG Service site, you may want work with only Self Service sites. Site types allow you to differentiate between ATG application sites. However, a site can also be a combination of multiple site types.

For example, you may have a site that presents Commerce information, and another that presents Self Service information. You can configure your site to use a single site object for both sites, or configure the sites separately, with separate site categories for each type of site.

The siteType property ensures that only the correct types of sites are displayed. This property is defined in the SiteRepository SiteConfiguration item descriptor.

If the property contains no identifier, it is perceived by siteManager to be a universal site. If the property does contain an identifier, applications that require specific site types will verify if the property contains their required siteType. If it does, the application will make the site available. If it does not contain the required siteType, the site is filtered out.

The Site Administration interface uses the StringEnumProvider component, defined within the siteTypes property, to limit the elements of the siteTypes property to the valid site type values defined in the siteManager. Enumerated string values are added to the siteTypes array by the installed modules.

For additional information on siteManager, refer to the ATG Platform Programming Guide.