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

Link Expressions for Endpoints

Link Expressions for Endpoints

A link expression for endpoints must refer to both the source and target resources. When you create link expressions for endpoints, you can use keywords and specific endpoint attributes.
To refer to an object attribute in a link expression, use the following format:
<keyword>.<attribute>
The following table describes the keywords that you can use in link expressions:
Keyword
Description
source
Represents the object selected in the sourceFilter.
target
Represents the object selected in the targetFilter.
parent
Represents the parent of the object selected in the sourceFilter or targetFilter.
You can use the structName, featureName, and packageName attributes for endpoints in a link expression. You cannot use any other class attribute.
The following table describes the endpoint attributes that you can use in link expressions that link endpoints:
Endpoint Attribute
Description
structName
Structure name. A structure is a metadata object that contains fields. For example, a structure can be a PowerCenter source definition instance or an Oracle table.
featureName
Feature name. A feature is a field in a metadata object. For example, a field can be a PowerCenter source definition port or an Oracle table column.
packageName
Package name. A package is the schema for a database resource that the connection is assigned to.
To refer to object attributes in the target resource, use the same class attributes that are valid for selection expressions.
If the attribute name contains spaces, enclose it in the XML character entity for quotation marks,
&quot;
. For example, if the attribute name is "Business Name," enter the name as follows:
&quot;Business Name&quot;
When you include multiple conditions in a link expression, Metadata Manager evaluates the conditions from left to right. For better performance during linking, write a condition that checks for parent attributes before a condition that checks for child attributes.

Example

The following link expression links a source endpoint to a target object when the parent names and the object names match:
<link condition="source.structName = target.parent.Name AND source.featureName = target.Name"/>

0 COMMENTS

We’d like to hear from you!