If you need to keep both the standard SQL profile repository and a separate composite profile repository, you can do so by creating a new instance of atg.adapter.composite.MutableCompositeRepository
as described in the previous section, and then pointing all profile repository references that may exist in other components to this composite repository. For example, you must change the value of the profileRepository
property in the /atg/userprofiling/ProfileTools
component as described below. In addition, you must find all references to the ProfileAdapterRepository
in all other components and change them so that they refer to the new composite repository. Because there are potentially dozens of such references in an ATG application, this option is not recommended.
Configure the ProfileTools
component as follows:
Point the profileRepository
property of the ProfileTools
component to the composite profile repository. For example:
profileRepository=/atg/userprofiling/mutableCompositeRepository
For more information, refer to Configuring the Profile Tools Component in the Setting Up a Profile Repository chapter of this guide.