Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 '/'.

     
    Info

    Here in the field, you need not to enter the complete Xpath. In path you need to enter only

    the 

    the Root

     and 

    and Record.

     For example 

    For example /Root/Record .

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

     

    The 


    Info

    The Key Match and

    the 

    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).

     
    Info

    The alert message is also displayed when shifting focus between

    the 

    the Global

     and 

    and Node

     tabs

    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.

     
    Info

    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 

    the Managing a Global Variable from Parameter Panel section.