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 Element Configuration for Non-Endpoints

Rule Element Configuration for Non-Endpoints

Use the rule element to define a linking rule that Metadata Manager uses to link non-endpoint objects in the source resource to matching non-endpoint objects in the target resource.
The following table describes the attributes for the rule element:
Attribute
Description
name
Required. Name of the rule. The rule name must be unique in the rule set.
direction
Optional if linking to a business glossary resource. Required if linking between custom resources, between a custom and packaged resource, or between a custom and universal resource. Indicates whether the link originates from the source object or from the target object. Enter SourceToTarget, TargetToSource, or Auto.
To link between custom resources, between a custom and packaged resource, or between a custom and universal resource, the direction must be SourceToTarget or TargetToSource. To link to terms in a business glossary, the direction must be Auto.
If you do not use the direction attribute, Metadata Manager uses Auto by default.
A rule element must contain the following elements:
sourceFilter
Filters the list of possible objects in the source resource that you want to link. A sourceFilter element must contain an XML element named element.
The following table describes the attributes for the XML element named element:
Attribute
Description
class
Optional. Name of the class that the object belongs to. Use a pipe (|) to separate multiple class names.
Either the class attribute or the type attribute is required.
type
Optional. Type of the class that the object belongs to. Use a pipe (|) to separate multiple class types.
Either the class attribute or the type attribute is required.
condition
Optional. Expression that filters the list of possible objects to link.
An element can contain another element. The objects selected through the class, type, and condition attributes for this element must be immediate children of the objects selected through the containing element.
To specify a feature in a packaged or universal resource, the structure or the parent class must also be selected in the sourceFilter. For example, the following sourceFilter element includes the parent table as a containing element of an Oracle column:
<sourceFilter> <element class="Oracle Table"> <element type="Column"/> </element> </sourceFilter>
targetFilter
Filters the list of possible objects in the target resource that you want to link. A targetFilter element must contain an XML element named element.
Use the same syntax to configure elements in sourceFilters and targetFilters.
link
Defines the expression that specifies which filtered source and target objects Metadata Manager links. Contains a required condition attribute.

0 COMMENTS

We’d like to hear from you!