The ProfileUpdateTrigger component defines methods that send JMS messages when a user or an administrator updates a profile by way of a profile form handler or multiple profile form handler (see Profile Form Handlers).You can then set up scenario events that are triggered when one of these messages is received. For example, you could create a scenario that sends an e-mail when a user changes his or her maritalStatus property from “single” to “married”. For information on how to configure such a scenario, see Updates Profile Property in the Scenario Events section of the ATG Personalization Guide for Business Users.

The ProfileUpdateTrigger component contains four properties that trigger the sending of different types of profile update message. All four properties are set to true by default, and each one has a corresponding event that you can include in scenarios. (For more information, see Using Scenario Events.)

The properties of the ProfileUpdateTrigger component are described below.

Property

Description

messageSource

Specifies the name of the messageSource component to use to send messages

Default: /atg/userprofiling/DPSMessageSource

generateProfileUpdateEvents

Sends a ProfileUpdate message when a user changes his or her profile.

Triggers an Updates Profile scenario event in the Scenarios module.

Default: true

generateAdminProfileUpdateEvents

Sends an AdminProfileUpdate message when an administrator changes a user profile.

Triggers a Profile Is Updated event in the Scenarios module.

Default: true

generateProfilePropertyUpdateEvents

Sends a ProfilePropertyUpdate message. A message is sent when a users changes any of the properties listed in the propertiesToSendUpdateEvents property.

Triggers an Updates Profile Property event in the Scenarios module.

Default: true

generateAdminProfilePropertyUpdateEvents

Sends AdminProfilePropertyUpdate messages. A message is sent when n administrator changes any of the properties listed in the propertiesToSendAdminUpdateEvents property.

Triggers a Profile Property is Updated event in the Scenarios module.

Default: true

propertiesToSendUpdateEvents

The list of properties referenced by the generateProfilePropertyUpdateEvents property.

Default: null (a message is sent when any property is changed)

propertiesToSendAdminUpdateEvents

The list of properties referenced by the generateAdminProfilePropertyUpdateEvents property.

Default: null (a message is sent when any property is changed)

 
loading table of contents...