Creating repository functions
- Double-click a mapping to open it in the Mapper Editor.
-
From the Core Functions pane, click and drag the Boolean or Java
function element.
Drop it in the space between the input and output document trees to add a UBJ or UVJ function.
- Add parameters to your function.
- Name the function and its parameters, then edit the Java code.
- Save the mapping with the new functions.
-
Right-click on the function, select Save
to Repository....
The Mapper Database window is displayed.
- Select a database location to contain this Repository Function.
- Click Finish.
- Confirm to insert a new repository function into the repository, or to overwrite an existing repository function.
-
Review the function version to save to the database and click
OK.
Note:
-
The version for a new repository function will always be
1.0
. -
The category for a new repository function will always be
Default
.
-