Editing and Deleting Existing Rules
When a mapping contains rules for defaults or node functions, these are indicated by the the icon (black or red color) next to nodes of interest. You can easily view, modify, or delete such rules as shown below.
To open a default or node function for viewing or editing:
1.In the main mapping, click the icon (black or red color) next to the node of interest. This icon is present on any node where you previously defined a rule for defaults or node functions. For example, in the mapping below, rules are defined on the Articles item of the source component, and on the Rows item of the target component. You can find this demo mapping at the following path: <Documents>\Altova\MapForce2022\MapForceExamples\\OrderInUSD.mfd.
2.After you clicked the icon, observe the grid at the top, which contains a row for each default or node function that is defined on this node. Select the corresponding row, and make changes as required.
3.In case of functions, click the button if you want to change the implementation (mapping) of the function. If the button is not present, then the function is most likely defined on some ancestor. In this case, make sure that you click the icon on the item where the rule is defined (see the note below).
The icon merely indicates where the rule applies, not where it is defined. For more information about the meaning of icons, see How Defaults and Node Functions Work.
To delete a rule:
•Select the rule from the grid at the top, and then click the Remove function / default button.
To exit to the main mapping:
•Click the Go back button in the upper-left corner of the Mapping pane, or press Escape.