Altova MapForce 2024 Enterprise Edition

Functions

Home Prev Top Next

In MapForce, you can use the following categories of functions to transform data according to your needs:

 

MapForce built-in functions — these functions are predefined in MapForce and you can use them in your mappings to perform a wide range of processing tasks that involve strings, numbers, dates, and other types of data. You can also use them to perform grouping, aggregation, auto-numbering, and various other tasks. For reference to all available built-in functions, see Function Library Reference.

Node functions and defaults — these are more specialized functions that let you create and apply custom processing logic to one or multiple descendant nodes on a mapping component. They enable you to process data either before it reaches a node of a mapping structure, or immediately after it leaves a node. For more details, see Defaults and Node Functions.

User-defined functions (UDFs) — these are MapForce functions that you can create yourself, using as basis the native component kinds and built-in functions already available in MapForce, see User-Defined Functions.

Custom functions — these are functions that you can import from external sources such as XSLT libraries, XQuery library modules, Java .class files, .NET .dll files, and adapt to MapForce. Note that, in order to be reusable in MapForce, your custom functions must return data of simple type (such as string or integer) and they must also take parameters of simple type. For more information, see Importing Custom XSLT Functions, Importing Custom XQuery 1.0 Functions, and Importing Custom Java and .NET Libraries.

 

Note:You can import custom external libraries of functions either directly (no configuration required) or by configuring  a MFF (MapForce Function File) recognized by MapForce. If you use the latter approach, you can also import C++ libraries, in addition to Java classes and .NET assemblies. Note that libraries imported via .mff files must meet the prerequisites mentioned in Referencing Java, C# and C++ Libraries Manually.

 

© 2017-2023 Altova GmbH