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 Manager table into memory.
system.forms Allows to call a particular Service Manager form into memory.
system.functions

Calls a particular Service Manager RAD function from JavaScript.

system.library

Calls a particular Service Manager script library function.

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

Note All of the alias or shortcut global objects available in HPE ServiceCenter 6.0 are deprecated in Service Manager. 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.