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

Load Template Conditions

Load Template Conditions

You can add conditions in a load template to filter the rows of the metadata source file that apply to the mapping rule. You can apply conditions to mapping rules for the following objects: classes, class attributes, associations, and lineage associations.
Use load template expressions to create a condition. For example, you have a metadata source file that contains rows for table and column objects. The TYPE field of the metadata source file specifies the type of object for each row. You want to create a lineage association between the columns only. You create the following lineage association:
<lineageAssociation ruleName="linkRule" condition="TYPE='COLUMN'"> <from>PARENT</from> <to>ELEMENT</to> </lineageAssociation>
When you run the custom XConnect, Metadata Manager retrieves only rows from the metadata source file where the type is a column.

0 COMMENTS

We’d like to hear from you!