Example: Configuring Lookups

If you have selected ASAP version 5.2 and have defined lookups with input parameters that map to other lookups, an additional source attribute is generated in the lookup model xml.

Precondition: SRT project is created for Activation 5.2.

Precondition: Two lookups are created in the same cartridge (for example LK1, LK2)

  1. Create a lookup.

    For example, LK3.

  2. Add an input parameter (lookup type).

  3. Map to another lookup.

    For example, map to LK1.

  4. Save the lookup.

  5. From the Package Explorer view, cartridgeBuild/model, examine the lookup.xml.

    For example, LK3.xml: A new attribute has been added called sourceDocument=

Consider the following code example, which illustrates the previous stepped procedure:

<inputParameter>
<parameterName>inParm4</parameterName> 
<lookupParameterName> outParm1</lookupParameterName>
</inputParameter>

would become

<inputParameter>
<parameterName>inParm1-lk3</parameterName>
<lookupParameterName sourceDocument="LK1">outParm1-lk1</lookupParameterName> 
</inputParameter>

Related Topics

Configuring Lookups

About Lookups

Lookup Editor