Develop > Programming Guide > JavaScript and Service Manager reference > JavaScript global System objects

JavaScript global System objects

Global objects are predefined objects that are always instantiated and cannot be created using the “new” operator. Objects have methods and/or subordinate properties that you refer to by using the dot operator.

The primary global object is the System object. It acts as a container for an entire hierarchy of objects. These other objects are properties of the System object.

Note None of the Service Manager global System objects have constructors.

This is a complete list of global objects exposed as properties of the System object.

Global System objects Description
system.files Allows to call a particular Service Management table into memory.
system.forms Allows to call a particular Service Management form into memory.
system.functions

Calls a particular Service Management RAD function from JavaScript.

system.library

Calls a particular Service Management script library function.

system.oldrecord Calls the last Service Management record into memory.
system.record Calls the current Service Management record into memory.
system.sysinfo Calls an XML list of properties about the Service Management server.
system.threads Calls an XML list of the current Service Management threads into memory.
system.user Calls an XML list of properties of the currently logged on Service Management user.
system.users Calls an XML list of the currently logged on Service Management users into memory.
system.vars Calls a particular Service Management variable into memory.

Note All of the alias or shortcut global objects available in ServiceCenter 6.0 are deprecated in Service Management. They are deprecated because the alias or shortcut is likely to be used as a script variable. The scripts that attempt to use these names as variables will not function as expected. Therefore, you must type out the entire global system object name. For example, type system.user instead of user.