Please enable JavaScript to view this site.

Altova MapForce 2022 Professional Edition

When working with MapForce mappings, you can preview the output without having to run and compile the generated code with an external processor or compiler. In general, it is a good idea to preview the transformation output in MapForce before attempting to process the generated code externally. When you choose to preview the mapping results, MapForce executes the mapping and displays the output in the Output pane.


Once data is available in the Output pane, you can validate and save it if necessary. For more information, see Validating Mapping Output. You can also use the Find command (Ctrl + F key combination) to quickly locate a particular text pattern within the output file (see Searching in Text View). Any error, warning or information messages related to the mapping execution are displayed in the Messages window. To preview the transformation output, click the Output tab at the bottom of the Mapping pane. If you select C++, C#, or Java as a transformation language, MapForce executes the mapping using its built-in transformation engine. The result that appears in the Output pane is the same as if the Java, C++, or C# code has been generated, compiled and executed.


To save the transformation output, do one of the following:


Click Save Output File in the Output menu.

Click MF_SaveGenOutput (Save generated output) in the toolbar.


Partial output preview

When you are previewing large output files, MapForce limits the amount of data displayed in the Output pane. In this case, the Load more button appears in the lower area of the pane. Clicking this button adds the next file part to the currently visible data and so on (see screenshot below).


The Pretty-print button becomes active when the complete file has been loaded into the Output pane. You can configure the preview settings from the General tab of the Options dialog box. For more information, see MapForce Options.


© 2015-2021 Altova GmbH