SubFunctions

You can use SubFunctions to create reusable subroutines in mappings. A SubFunction is a mapper function that executes a mapping. You define SubFunctions in function collections, .xmp files that you can share across projects or share with your team.

This contains procedures to create SubFunctions, connect SubFunctions in mappings, and manage SubFunctions from the tree pane. See below to get started with the basic workflow.

Creating a SubFunction

In the tree pane, you can right-click a function collection or use the toolbar. See Creating a SubFunction to configure inputs and outputs and design the mapping that the SubFunction executes.

Connecting SubFunctions

To invoke a SubFunction in a mapping, drag a SubFunction (SubFunction icon) from the tree pane onto the mapping area. You can right-click the SubFunction to change the order that inputs are mapped and to update the SubFunction when you change the SubFunction's definition.

See Connecting SubFunctions for procedures to add and connect SubFunctions.

Managing SubFunctions

You can right-click a SubFunction in the tree pane to do the following:

See below for other procedures to work with function windows: