The Custom Code Library functionality enables you to program your own code libraries and use them in Forsta Plus surveys.
This is useful for script functionality that is used across surveys. For example, if you have some customized validation code that you use in all your surveys, instead of the survey programmer having to copy the code into each survey, you can include the code in a Custom Code Library. The Forsta Plus script programmer can then use this code from a script in any survey.
The Custom Code Library assemblies can be scoped to be project-specific, company-specific or available in all surveys across all companies.
The Custom Code Library functionality is also useful if you need to program a bridge between Forsta Plus surveys and other systems, or for direct database lookup from external databases.
Note: Surveys designed for off-line apps using CAPI App or AskMe App have limited support for Custom Code Library code. Only CAPI App for Windows and CAPI App for Android can support CCLs written using C#.
About this Documentation
The documentation is intended for Forsta Plus script programmers, and for administrators of Forsta Plus server installations.
To program a Custom Code Library, see Chapter 2. You can choose between all the .NET programming languages. This documentation describes how to create a Custom Code library for Jscript .NET and C#.
To be able to use the Custom Code Library functionality in surveys, you must deploy the custom code DLL to the Forsta Plus installation (go to Deploying the Custom Library Code DLL for more information).