If using the Xml2Metadata parser metadata must be preconfigured.
Here is an example of a Xml2Metadata configuration file:
< Settings > < Metafield Id = "5EB3EEFC-A043-410F-89B0-29ED3EF37078" XPath = "/Media/Title" /> < Metafield Id = "50182" XPath = "/Media/Description" /> < Metafield Id = "50188" XPath = "/Media/MMMenu" /> </ Settings > |
The Settings element is required. It holds the Metafield elements, which couples the metafields in your metadata files to the metafields in the DC.
Metafield attribute | Description |
---|---|
Id | The metafield ID or GUID as seen in the DC under the ID or GUID column 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. |
XPath | The XPath selector for this metafield in the metadata XML files. |