2.5 Host Environment
The JavaScript specification defines the language's syntax and semantics. It also defines a few built-in object types together with their properties and functions. The host environment defines other objects that can be accessed and controlled by scripts.
All packages starting with java, inetsoft, com, and org are automatically available to the scripting environment. Other packages must be registered either by using the registerPackage() function or by setting the javascript.java.packages property for the application using the script.
The host environment of Style Intelligence is similar to the Document Object Model (DOM) used in browser environments. Scripts can access report elements as JavaScript objects to read or modify their properties.
See Also
Appendix SI:Style Intelligence Object Reference, for the objects and functions that are available in the Style Intelligence host environment.
Appendix JS:General JavaScript Functions, for core JavaScript functions.
| << 2.4 Script Evaluation | © 1996-2013 InetSoft Technology Corporation (v11.5) | 2.6 Accessing Element Properties >> |