JavaScript object: system.files

The following JavaScript object is unique to HPE Service Manager.

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

Usage

system.files.table name

Note Service Manager 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 Manager table name (for example, contacts)
var f = system.files.contacts;
print( "The value of system.files.contacts is:\n" + f );