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

Sample Rule Set Files to Link Endpoints

Sample Rule Set Files to Link Endpoints

The following code shows a sample rule set file that defines linking rules between custom resource objects and PowerCenter resource endpoints:
<?xml version="1.0" encoding="UTF-8"?> <ruleSet name="Link custom objects to PowerCenter endpoints"> <sourceResource name="MyPowerCenterResource"/> <targetResource name="MyCustomResource"/> <rule name="Link custom columns to PowerCenter Source Qualifier or Lookup ports"> <sourceFilter> <endPoint connection="MyConnection" class="Source Qualifier Port|Lookup Transformation Port"/> </sourceFilter> <targetFilter> <element class="Library" > <element class="Table"> <element class="TableColumn"/> </element> </element> </targetFilter> <!--Link the specified endpoints and objects when the parent names and the object names match. --> <link condition="source.structName = target.parent.Name AND source.featureName = target.Name"/> </rule> </ruleSet>
The following code shows a sample rule set file that defines linking rules between custom resource objects and Informatica Platform resource endpoints:
<?xml version="1.0" encoding="UTF-8"?> <ruleSet name="Link custom objects to Informatica Platform endpoints"> <sourceResource name="MyInfaPlatformResource"/> <targetResource name="MyCustomResource"/> <rule name="Link custom columns to Informatica Platform relational or flat file data object columns."> <sourceFilter> <endPoint connection="MyConnection" class="Column"/> </sourceFilter> <targetFilter> <element class="Library" > <element class="Table"> <element class="TableColumn"/> </element> </element> </targetFilter> <!--Link the specified endpoints and objects when the parent names and the object names match. --> <link condition="source.structName = target.parent.Name AND source.featureName = target.Name"/> </rule> </ruleSet>

0 COMMENTS

We’d like to hear from you!