Slots are components of class atg.scenario.targeting.RepositoryItemSlot or atg.scenario.targeting.Slot. A slot component must have a Nucleus address in the folder /atg/registry/Slots/. You can create slot components in two ways:

The following is an example of a .properties file for a slot component of class atg.scenario.targeting.RepositoryItemSlot:

$description=displays fund news to brokers

For an example of a .properties file for a slot of class atg.scenario.targeting.Slot, refer to Creating a Slot Component for Objects other than Repository Items.

The following steps show how to create a repository item slot component using the slot wizard in the ACC. Note that you can access this wizard through the Scenarios > Slots window, as described below, or through the Component Editor (Pages and Components > Components by Module > New Component > Scenario Server > Slot). The screens in the wizard are the same regardless of how you access it.

  1. Start the ACC.

  2. Select Scenarios > Slots.

  3. Click New Slot. The slot wizard appears and displays the Specify Slot Name screen.

  4. Type a name for this slot. Do not include spaces in the name.

  5. Type a brief description of this slot. The description appears in the Description column in the Slots window. You can edit it later if necessary.

  6. Click Next, and use the remaining screens in the wizard to configure the slot. The rest of this section describes the properties you can set.

Important:By default, all slots that you create through the slot wizard are instances of the class atg.scenario.targeting.RepositoryItemSlot. If you set up your own subclass of RepositoryItemSlot, and you want to use the wizard to create a slot from that subclass, you must make a configuration change to the ACC to have it recognize your subclass. Add a string property called repositoryItemSlotClass to the /atg/devtools/ file, and set it equal to the name of your class. Your class must be a subclass of RepositoryItemSlot.

loading table of contents...