Defining context in transaction editor

About this task

A context defines and encapsulates data that belongs to a functional or business organization entity. For more information on contexts, refer to the Contexts section.

Procedure

To define a context with the IBM® WebSphere® Multichannel Bank Transformation Toolkit Transaction editor, do the following steps:

  1. In the Project Explorer view, double-click the transaction file in which you want to define a context. The transaction file is displayed in the Transaction editor.
  2. In the Transaction editor, click the Context tab.
  3. Right-click in the Context panel of the Context tab, and then click New Child > context.
    Selecting a context from the popup menu in the context panel.
  4. In the Id field of the Detailed Information panel of the context that you are defining, enter an identifier for the context.
  5. Add a refKColl or a refType to the context as a child element.
    Note: Every context must contain either a refKColl or a refType as a child element.
    1. Right-click the context that you are defining and then click New Child > refKColl or New Child > refType depending on the child element that you want to add to the context.
    2. In the Detailed Information panel of the child element of the context, click the Browse icon The browse icon to select a Keyed Collection or a Type for the child element.