Use to display content (or any other repository) items in a given slot. Specify the slot to use and the repository items to show in it.

Example: Add Items to Slot ProductSlot named Springtrak Shatterproof Helmet, Arribia Bike Shorts, Springtrak Insulated Water Bottle

You can also specify an existing targeter instead of a list of content items. In this case, the system uses the criteria in the targeter to define the content items to display.

For more information, see Using Slots.

Scenario editor display name: Add Items to Slot

Action Registry Tag

Value

action name

fillSlot

configuration component

/atg/scenario/configuration/SlotActionConfiguration

action execution policy

collective

action error response

continue

The FillSlot action has the following parameters:

Parameter

Required

Description

slot

yes

The slot to fill. Can be an instance of atg.scenario.targeting.RepositoryItemSlot or atg.scenario.targeting.Slot. Example:

<nucleus-property>
   <nucleus-path>/atg/registry/Slots
    /QFHomePageSlot</nucleus-path>
</nucleus-property>

values

no

If the slot is of type atg.scenario.targeting.Slot (but not RepositoryItemSlot), this parameter holds the array of objects that will be added to the slot.

ids

no

The set of repository items to include in this slot. Example:

<array type="java.lang.String[]">
   <constant>/repositories/
    Images/promo-signup.html</constant>
</array>

targeter

no

The targeter to use (if any) to populate the slot. Example:

<nucleus-property>
  <nucleus-path>/atg/
   registry/RepositoryTargeters/
   Images/aggressivePromo</nucleus-path>
</nucleus-property>

priority

no

The relative priority of display for items in this slot. Note that for slots, 0 is the lowest priority and the default setting.