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

Rule Set Definition File Elements

Rule Set Definition File Elements

The XML elements in the rule set definition file define the rules that Metadata Manager uses to link objects in the source resource to matching objects in the target resource.
Use the following XML elements:
ruleSetDefinition
Contains a group of rules to link objects between two models. A ruleSetDefinition element contains a required name attribute. The ruleSetDefinition name must be unique in the Metadata Manager repository.
A ruleSetDefinition element must contain one sourceModel element, one targetModel element, and at least one rule element. A ruleSetDefinition element can also contain one or more param elements.
sourceModel
If you link endpoints, this element defines the name of the Business Intelligence, Data Integration, or Data Modeling model that contains endpoints. If you link non-endpoints, this element defines the name of one model that you want to link. Contains a required name attribute.
targetModel
If you link endpoints, this element defines the name of the model that does not contain endpoints. If you link non-endpoints, this element defines the name of the other model that you want to link. Contains a required name attribute.
param
Defines a parameter that represents a resource-specific attribute. A parameter can define a connection name, a package name, or a string literal. Contains a required name attribute and optional description, defaultValue, and type attributes.
The following table describes the values for the type attribute:
Value
Description
connection
The parameter defines a connection name for endpoint links.
package
The parameter defines a package name for endpoint links.
string
The parameter defines a string literal in an expression, for example, a table name. If you do not specify a value for the type attribute, the parameter type is string.
rule
Defines the linking rule. The XML attributes and elements that this element contains depends on whether you configure rules to link endpoint classes or to link non-endpoint classes.

0 COMMENTS

We’d like to hear from you!