Developer Functions (Magic xpa 2.x)
Developer functions let you combine logical segments through selected parameters, operations, and a returned value that can be used in an application without loading an entire task, as is the case with a program, or without creating a handler, which requires a corresponding user event.
Developer functions have the following behavior:
-
They are constructed by an explicit name, parameters, operations, and a returned value.
-
When defined for a Main Program, these functions are available to the entire application. If Scope is set to Global, these functions can be available to other components.
-
They are recognized by Magic xpa as an internal function.
-
Developer functions can also be published as part of a component.
Note: The function's parameters and logic are defined using the Variable operation in the Function level section.
Defining a Developer Function
Developer Function Behavior
Developer Functions and Components
Developer Function Runtime Behavior
How Do I Create a Function?
How Do I Set the Function’s Parameters?
How Do I Reuse Expressions Within Another Expression?
How Do I Override Magic xpa Functions?