This event is triggered when a site visitor views an item from any repository (any RepositoryItem).

Examples: Views any item

Views an item from Funds whose Aggressive Index is 3.

Class name

atg.userprofiling.dms.ViewItemMessage

JMS name

atg.dps.ViewItem

Display name

Views

Message context

Request

Message scope

Individual

Message source

Component: /atg/userprofiling/DPSMessageSource

Class: atg.userprofiling.dms.DPSMessageSource

Component that calls the message source

/atg/targeting/TargetedContentTrigger

How this event is triggered

Triggered by the fireViewItemEvents servlet bean parameter in the following targeters:

TargetingForEach
TargetingFirst

TargetingRandom
TargetingRange

Also triggered by the same parameter in the RepositoryLookup servlet bean.

The parameter is set to false by default. See also the note below.

How to turn this event off

Set to false the fireViewItemEvents servlet bean parameter.

Note: The fireContentEvent and fireContentTypeEvent servlet bean parameters included in earlier versions of ATG products (Dynamo 4 and later) were designed to fire events only if the item that the visitor viewed was stored in a content repository (a ContentRepositoryItem). These parameters have been deprecated in favor of the more flexible fireViewItemEvents parameter, which is triggered when an item from any repository (including, for example, the profile repository) is viewed.

Any existing targeters that use the fireContentEvent and fireContentTypeEvent parameters will still work as expected; in other words, they will fire a Dynamo 4-style ContentEvent or ContentTypeEvent if the visitor views a content repository item.

The message that triggers this event contains the following properties:

Property

Type

Scenario editor label

repositoryName

java.lang.String

an item from <repository_name>

The name of the repository that contains the viewed item.

itemType

java.lang.String

of type

The name of the item type (itemDescriptorName) to which this item belongs.

repositoryId

java.lang.String

Does not appear . The “named” keyword is used to specify the appropriate item.

The repository ID of the viewed item.

profileId

java.lang.String

Does not appear.

The profile ID of the visitor who viewed the item.

item

atg.repository.RepositoryItem

Does not appear.

The actual RepositoryItem object that the visitor viewed.

targeter

atg.targeting.Targeter

Does not appear.

The targeter that was used to get this item, if available.

path

java.lang.String

Does not appear.

The path of the page that contains the item.

siteId

java.lang.String

Does not appear.

The ID of the current site. The value is provided by the Site Context Manager.

This parameter applies to multisite environments.