Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Steps to create a key

  1. Ensure that the source and target schemas are loaded and all their elements are listed under their respective nodes.
  2. Click the Global tab displayed in the Mapping Graph Area. All tabs of the Global tab are displayed.
  3. Click the Key Functions tab. A list of existing keys is displayed in the Key Functions pane (see Figure 541).

    Figure 541: Key Functions Tab

  4. Click the Add Key (  ) button to activate the Key Name field.
  5. Enter the name of the new key in the Key Name field.
  6. Enter the path of the source element (at the root node) to be matched, in the Key Match field. The path always starts with a '/'.

    Here in the field, you need not to enter the complete Xpath. In path you need to enter only the Root and Record. For example /Root/Record .

  7. Enter the name of the field to be matched in the Key Use field for example EMPID.

     


    The Key Match and the Key Use fields are case-sensitive.


     

  8. Click Save Key (  ) button to save the key. This key is added to the list of existing keys in the Key Function tab. It is also displayed under Keys in the Parameters Panel. (see Figure 542).

    Figure 542: Key Added to Parameters Panel

  9. If you shift focus to another node, or click any of the Mapping Rules, Textual Rules, Properties, XSL or Debugger tabs, without saving the key, an alert message is displayed (refer to Figure 522).

    The alert message is also displayed when shifting focus between the Global and Node tabs.

  10. Click No to save the key and shift the focus to the other object. If you click Yes, then the defined key is cleared and focus is shifted to the other object.

    You can rearrange the keys by dragging it up or down in the list.

    You can edit or delete a key from the Parameters Panel itself. For details, refer to the Managing a Global Variable from Parameter Panel section.

  • No labels