Please enable JavaScript to view this site.

Altova MapForce 2020 Professional Edition

There are several ways to add variables to a mapping, as shown below.

 

Using a menu or toolbar command

1.On the Insert menu, click Variable. (Alternatively, click the Variable ic-variable toolbar button).

mf_variable_add_01

2.Select the type of variable you want to insert (simple or complex type).

 

If you select "Complex type", there are a few additional steps:

 

3.Click Choose to select the source which should provide the structure of the variable (for example, an XML Schema or database).

mf_variable_add_02

4.When prompted, specify a root item of the structure. In case of XML Schemas, the root item can be any element defined globally. In case of databases, the root item can be any table.

mf_variable_add_03

 

Using a context menu

 

Right-click the output connector of a component (in this example, "Article") and select Create Variable from Source node.

mf_variable_add_04

This creates a complex variable using the same source schema and automatically connects all items with a Copy-All connection.

mf_variable_add_05

Right-click the input connector of a target component and select Create Variable for Target Node. This creates a complex variable using the same schema as the target, and automatically connects all items with a Copy-All connection.

Right-click the output connector of a filter component (on-true/on-false) and select Create Variable from Source Node. This creates a complex component using the source schema, and automatically uses the item linked to the filter input as the root element of the intermediate component.

© 2019 Altova GmbH