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 Non-Endpoints

Link Expressions for Non-Endpoints

A link expression for non-endpoints must refer to both the source and target resources. When you create link expressions for non-endpoints, you can use keywords and attributes that belong to the non-endpoint classes.
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 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 non-endpoint objects when the parent names and object names match:
<link condition="source.parent.Name=target.parent.Name AND source.Name=target.Name"/>

Example

The following link expression links non-endpoint objects when the Label attribute for the source object or target object has a value of "MyLabel":
<link condition="source.Label='MyLabel' OR target.Label='MyLabel'"/>

0 COMMENTS

We’d like to hear from you!