Previous Topic: Specifying Basic Attribute Values

Next Topic: Specifying Additional Attribute Values

Specifying Mapping Functions

You can examine and change the value mapping functions in a model using the Edit Functions panel for the *Field attribute types file. This panel shows the mapping functions attached to the field types file.

You can obtain the Edit Functions panel in two ways:

When you define a function that is based on an access path containing fields of a user-defined field type, CA 2E automatically does the following in the function definition:

If value mapping is specified for a field type (in other words, Y is specified in the Initial value column of Allow value mapping), both internal/external and external/internal functions must be defined and both must have two parameters. This is to supply and return the internal and external values as appropriate.

If the external/internal function is being used for validation only, only one parameter needs be supplied: the external value.

Function type

First
parameter

Parameter
Usage

Second
Parameter

Parameter
Usage

External/Internal

Internal/External

EXT FLD

EXT FLD

I

O

INT FLD

INT FLD

O

I

The order in which you specify the parameters is important. Ensure the following: