Use to clear items that you previously included in a slot. For more information, see Using Slots.

Example: Remove items from HomePageSlot named helmet.gif

Scenario editor display name: Remove Items from Slot

Action Registry Tag

Value

action name

emptySlot

configuration component

/atg/scenario/configuration/SlotActionConfiguration

action execution policy

collective

action error response

continue

The EmptySlot action has the following parameters:

Parameter

Required

Description

slot

yes

The slot to empty. 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 removed from the slot.

ids

no

The set of repository items to remove from this slot.

targeter

no

The targeter to use (if any) to remove items from the slot. Example:

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

See the previous section for information on the SlotActionConfiguration component.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices