LoadStoreIds transformer

Creates a new array entry in a row with given name and value is an array of store ids.

There are multiple ways to load store ids:

  • static - load store ids from a static list of store keys, given by the storeNames attribute

  • from_row - load store ids from an array of keys in the row, given by the storeNames attribute as the field name containing the array

  • from_config - load store ids from an array of keys in the config, given by the storeNames attribute as the config key containing the array

Usage:

<load-store-ids method="static" storeNames="store1,store2" to="targetFieldName" />
<load-store-ids method="from_config" storeNames="configKey" to="targetFieldName" />
<load-store-ids method="from_row" storeNames="stores" to="targetFieldName" />

Attributes:

  • method - method to be used to load store ids

  • storeNames - comma separated list of store names

  • to - name of the field to be created