Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Script includes used to store JavaScript functions and classes that will execute on the server. Every script include specifies either object class or function.


Note

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.  

...

  • Navigate to SystemDefinition -> ScriptIncludes;
  • Click New, fill in the form, and click Save.


FieldDescription
NameScript include name,
DescriptionShort action description,
ActiveWhen set to TRUE, this script will be executed when called; otherwise, it will not.
Client callableWhen set to TRUE, this script will be callable on the client-side; otherwise, it will not.
ScriptThis sequence of actions will execute when invoking the script.

...