Select a relational field to designate as a primary or foreign key.
In the
Properties
panel of the Hierarchy Builder transformation, click the
Field Mapping
tab.
The field mapping editor displays the transformation input elements and output fields. To the left, the editor shows the relational fields. To the right, the editor shows the schema elements.
To search for a relational field, enter the characters to search for in the Search field, and click
Search
.
To designate a relational field as a primary or foreign key, click the
Key
column of the field.
A key selector window appears.
Select whether the key is a primary key or foreign key.
If the key is foreign key, select the group to which the field relates as a foreign key.
To remove a primary or foreign key, click the
Key
column of the field and select
Not a key
.
To clear all the keys, click the action menu at the top of the