Script includes used to store JavaScript functions and classes that will execute on the server. Every script include specifies either object class or function.
Role required: admin.
Script include form
A script include has a name, a description, and a script itself. Also, it is possible to specify if it is active or client-callable.
To create a new script include, please complete the following steps:
- Navigate to System Definition -> Script Includes;
- Click New, fill in the form, and click Save.
Field | Description |
---|---|
Name | Script include name, |
Description | Short action description, |
Active | When set to TRUE, this script will be executed when called; otherwise, it will not. |
Client callable | When set to TRUE, this script will be callable on the client-side; otherwise, it will not. |
Script | This sequence of actions will execute when invoking the script. |