You are currently browsing legacy 3.5 version of documentation. Click here to switch to the newest 5.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

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.


  • 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.