You are here:
Content Slot Object Import/Export in B2C Commerce
Using Business Manager, import existing content slot configurations to use with a new instance, and export them for transfer between instances. The slots themselves aren’t imported or exported, but page templates define them (in UX Studio). Slot configurations only reference those slots (using the slot ID). Within Business Manager, the elements in the slot.xsd control the visibility of a slot. This topic applies to B2C Commerce.
A slot configuration can belong to zero or one site. A slot configuration that doesn't belong to a site is like a reusable part for the site to use. You can assign a slot configuration to no campaigns or promotions or to one campaign or promotion. The schedule, rank, and qualifier elements are part of the assignments.
| Elements or attributes | Impact |
|---|---|
| <slot-configuration> | When importing a <slot-configuration> element in MERGE mode, the system checks to see if there’s an existing slot configuration with the same ID in the current site domain. If so, the import process updates the existing one; if not, the import process creates one. |
| <rank>, <schedule> or <customer-groups> | If the import file includes any of the deprecated elements <rank>, <schedule>, or <customer-groups>, the system can only update them if there’s an explicit SlotConfigurationAssignment between the slot configuration and the site. If one exists, the import process updates those attributes of the assignment;. If none exists, the import logic logs a warning. |
| <slot-configuration-assignment> | When importing a <slot-configuration-assignment> element in MERGE mode, the system checks to see if there’s an existing assignment. The system checks between the specified slot configuration (identified by a compound key consisting of slot-id, context, context-id, and configuration-id) and the current site (derived from the import/export context, not specified in the file). If an assignment exists, it's updated; otherwise, the system creates one. |
| <slot-configuration-campaign-assignment> | When importing a <slot-configuration-campaign-assignment> element in MERGE mode, the system checks to see if there’s an existing assignment between the specified slot configuration and the campaign (specified by campaign-id). If an assignment exists, it's updated; otherwise one is created. If you perform the import in a different import mode, the usual modified semantics apply. |
| <mode> | There’s a new mode attribute in the existing <slot-configuration> element. This mode attribute is used for deleting individual objects without doing a full DELETE mode import. The <slot-configuration> element offers special wildcard behavior for deletion. You can omit the context, context-id, and configuration-id in delete mode. Use this technique to delete multiple slot configurations simultaneously. |
| <slot-configuration-assignment> and <slot-configuration-campaign-assignment> | The new elements <slot-configuration-assignment> and <slot-configuration-campaign-assignment> support a delete mode, but not a wildcard deletion, such as described previously. With this method, Only delete one assignment at a time. As a result, the attributes context, context-id, and configuration-id are required for these elements. |
Business Manager Import Location
Pipelets
- ImportSlots
- ExportSlots

