Scripts (ScriptService)

Introduction

Lightweight script services rely on moving logic that does not require connection to services from backend code into the application. Scripts can be written in the repository and then used in the application. Script code should be written in plain JavaScript (in ES6 or earlier). The code must be compatible with the JavaScript engine version provided by Rhino (http://mozilla.github.io/rhino/compat/engines.html).

Additionally have been disabled elements such as "eval".

Repository script services are cached after retrieval. The time-to-live is configured by the key repository_script_service_cache_ttl and settings["REPOSITORY_SCRIPT_SERVICE_CACHE_TTL"]

Last updated

Was this helpful?