Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Xml2Metadata parser

If using the Xml2Metadata parser metadata must be preconfigured.

...


Metafield attribute
Description
IdThe metafield ID or GUID as seen in the DC under theID or GUIDcolumn respectively. One special tag can also be used: ItemID. When this is set an ItemId can be specified to skip the match search and set metadata on this ItemId directly.
XPathThe XPath selector for this metafield in the metadata XML files.
ComboSeparatorOverride the ComboSeparator from the import configuration for a specific metafield. For future use (xml metadata does not support multivalues in same string input).
ComboMatchStyleOverride the ComboMatchStyle from the import configuration for a specific metafield. Possible values: TextValue (default) or OptionValue.

Excel parser

With Excel metadata the configuration is part of the sheet. The MetafieldIdRow config specifies which row to find it. All other rows until DataStartRow are ignored. Make sure to be aware of ComboMatchStyle - it is set in the import configuration. If it is not explicitly set it defaults to the textvalue. ComboSeparator defaults to ; (semicolon). Even though the configs are called combo... they are in effect also for tree type metafields.

The simplest configuration is just metafield ID set. Let's say we need to update a MultiComboValue with ID 50521. That might look like this:

Overriding ComboSeparator and/or ComboMatchStyle

Lets say an import configuration holds this default configuration (equivalent to not having these configs specifed at all):

...