Settings: Custom Functions

This view allows you to write custom JavaScript functions that can be used by all functionalities on server side that take leverage of JavaScript e.g. patching API or SQL Replication. To write custom functions, you need to create your own commonjs module.

Example

  • for start, let's define a function that will produce from firstName and lastName a fullname:
Figure 1. Settings. Custom Functions.
Figure 2. Settings. Custom Functions. Patch View.