The ProfileRequestServlet contains a profileRequestProcessors property, which is an array of a ProfileRequestProcessor interface. Preview user swapping is implemented through the /atg/userprofiling/PreviewProfileRequestProcessor component, which is an implementation of atg.userprofiling.ProfileRequestProcessor.

The table below shows the properties of the PreviewProfileRequestProcessor component.

Property

Type

Required

Description

previewCriteria

atg.userprofiling.
PreviewCriteria

No

An implementation of atg.userprofiling.PreviewCriteria.

previewRepository

Repository

Yes

The repository that contains the preview users.

previewItemType

String

No

The item type of the preview users to use. The default item type for the repository is used if this property is not set.

repositoryItemIdParam

String

No

The name of the repository item ID query parameter

forcePreviewParam

String

No

The name of the force preview query parameter

The default values for these properties are shown below:

$class=atg.userprofiling.PreviewProfileRequestProcessor

   previewCriteria=/atg/userprofiling/DefaultPreviewCriteria
   previewRepository=/atg/userprofiling/ProfileAdapterRepository
   previewItemType=user
 
loading table of contents...