JavaScript object: system.files

The following JavaScript object is unique to ITSMA Service Management.

The system.files object allows you to call a particular Service Management table into memory.

Usage

system.files.table name

Note Service Management global system objects do not have constructors.

Arguments

There are no arguments for this object.

Properties

The following properties are valid for this object:

Property Required Description
table name Yes This argument contains the table name you want to bring into memory.

Methods

None

Example

This example does the following:

  • Sets a variable equal to system.files.contacts
  • Displays the contents of the contacts table

This example requires the following sample data:

  • A valid Service Management table name (for example, contacts)
var f = system.files.contacts;
print( "The value of system.files.contacts is:\n" + f );