Assigning a Field

Use

Using the structure overview and the data-flow editor you can map source fields of the source structure to a target field.

Features

You can:

  • Use drag and drop to select a source field in the structure overview and map it to a target field, or the other way around. The mapping editor displays this simple assignment in the data-flow editor.

  • Drag a target field and one or more source fields from the structure overview to the data-flow editor. The data-flow editor automatically assigns the first source/target field pair. If a target field has already been mapped, then the mapping is displayed in the data-flow editor.

  • Select a source and target field from the structure view by double-clicking. Note that you always transfer source fields to the data-flow editor by double-clicking. However, this is only possible for target fields if they have not already been assigned a source field. When you double click a target field that has already been assigned, the system navigates to the corresponding mapping.

In the data-flow editor you can then connect source fields with standard functions or with your own functions (see: Functions in the Data-Flow Editor ). In the simplest instance, assign a source field to a target field. The value of the source field is then transferred to the target field at runtime.

Status Display

Icon

Description

Attribute

Element

Element with maxOccurs = unbounded

Color

Description

White

Attribute or element not assigned

red

Attribute or element must be assigned to complete the mapping

yellow

Attribute or element has already been assigned but the corresponding mapping in the data-flow editor is not complete

green

Mapping to target field complete

Furthermore, collapsed target field names in the mapping editor are displayed in red if target field mappings for subnodes of the marked field name are still missing.