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.
To save the transformation output, do one of the following:
•Click Save Output File in the Output menu.
•Click (Save generated output) in the toolbar.
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.