As an alternative to defining slots as Nucleus components, application developers can send them as properties of the JMS messages that control scenario event elements. This method provides flexibility because it allows developers to create slots on demand rather than having to register them first in Nucleus. (For more information, refer to ATG Personalization Programming Guide.) These slots are, however, temporary, and they cannot be persisted across visitor sessions. In addition, you cannot use this method for slots that contain repository items; you can use it only for slots that contain text strings, dates, or the Java number types Long and Double.

To set up a slot this way, perform the following steps:

  1. Add the event element that contains the slot you want to fill.

  2. Immediately after the event element, insert an Add Items to Slot element. Click the word Named to display a pop-up menu, and select the option Given by Event’s.

  3. Use the options that appear after Given by Event’s to specify the content you want to display. For example, if the content of the slot is a date value, select With Date Values and then specify the dates. See Creating a Scenario to Fill a Slot for more information.

Slots that are created as part of event elements do not appear in the Slots window in the ACC.

You can also use event elements to define the Remove Items from Slot element. See Creating an Element to Remove a Slot for more information on this element.