JavaScript object: system.forms

The following JavaScript object is unique to HPE Service Manager.

The system.forms object allows you to call a particular Service Manager form into memory.

Usage

system.forms.form 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
form name Yes This argument contains the form name you want to bring into memory.

Methods

None

Example

This example does the following:

  • Sets a variable equal to system.forms.ScriptLibrary.
  • Displays the contents of the ScriptLibrary form.

This example requires the following sample data:

  • A valid Service Manager form name (for example, ScriptLibrary)
var fm = system.forms.ScriptLibrary;
print( "The value of system.forms.ScriptLibrary is:\n" + fm );