Table of Contents

Search

  1. Preface
  2. Part 1: Concepts and Models
  3. Part 2: Custom XConnect Created with a Load Template
  4. Appendix A: Resource Configuration File

Metadata Manager Custom Metadata Integration Guide

Metadata Manager Custom Metadata Integration Guide

Resource Configuration File Elements

Resource Configuration File Elements

The resource configuration file consists of different XML elements that provide information about the metadata source and enumerated links files.
The load template XML contains the following elements:
resource
The following table describes the attributes for the resource element:
Attributes
Description
name
Required. Name of the resource.
resourceType
Required. Type of resource. Same as the name of the model.
parameter
To add multiple parameters, you can add multiple parameter elements within the parameters element. The following table describes the attribute for the parameter element:
Attribute
Description
name
Name of the parameter.
ruleBinding
The ruleBinding element does not contain any attributes.
CSVFile
The following table describes the attributes for the CSVFile element:
Attributes
Description
columnSeparator
Character that separates entries in the file. Default is a comma (,).
encoding
Code page for the metadata source file. Default is UTF-8.
escapeCharacter
Escape character for values in the metadata source file. Default is the backslash character (\).
hasColumnHeaders
Indicates whether the file has a header row. Valid values are 'yes' and 'no.' Default is 'yes.'
path
Absolute path and name of the metadata source file.
rowSeparator
Character that separates rows in the file.
rowsToSkip
Number of rows to skip in the metadata source file. Skip preliminary rows that contain header information or no information. You must enter an integer equal to or greater than 0. Default is 0.
textQualifier
Character used to enclose text that should be treated as one entry. Use a text qualifier to disregard the delimiter character within text. Default is the double quotes character (“).
useLatestSourceFiles
Indicates whether to use the latest metadata source files before running the custom XConnect. Metadata Manager retrieves the latest metadata source files from the directory specified in the resource configuration file. Set this attribute to 'true' if you use an extraction command file. If you set the attribute to 'false,' Metadata Manager uses the existing metadata source files stored in Metadata Manager. Valid values are 'true' and 'false.' Default is 'false.'
EnumeratedLinks
The EnumeratedLinks element does not contain any attributes.
CSVEnumeratedLinks
The following table describes the attributes for the CSVEnumeratedLinks element:
Attributes
Description
path
Absolute path and name of the enumerated links file.
useLatestSourceFiles
Indicates whether to use the latest metadata source files before running the custom XConnect. Metadata Manager retrieves the latest metadata source files from the directory specified in the resource configuration file. Set this attribute to 'true' if you use an extraction command file. If you set the attribute to 'false,' Metadata Manager uses the existing metadata source files stored in Metadata Manager. Valid values are 'true' and 'false.' Default is 'false.'
hasColumnHeaders
Indicates whether the file has a header row. Valid values are 'yes' and 'no.' Default is 'yes.'

0 COMMENTS

We’d like to hear from you!