About Script Objects

A script object is a non-visible part of an analytic application which groups a set of functions.

As an application designer you can use a function to encapsulate certain script logic that can be used in other script functions like event handlers. This keeps you from duplicating code and makes maintenance of applications easier.

Once you have added a script object you can create functions on this object, which will be exposed as script functions. Each script function has the following elements:
  • a configurable name

  • return type

  • any number of typed arguments

You can access the script object in scripts with its name like other widgets. Inside a function of the script object you have access to all objects in the application such as widgets, global variables, or popups.