10.1 Creating an ECMAScript Object

ECMAScript objects can be created in a library, driver object, Publisher channel, or Subscriber channel.

  1. In the Outline view, right-click the location to create the ECMAScript object, then select New > ECMAScript.

  2. Specify the name of the ECMAScript object.

  3. Select the check box for Open the editor after creating the object, then click OK.

    Creating ECMAScript object fields
  4. Click Yes in the file conflict message to save the ECMAScript object.

  5. Either type the ECMAScript, or copy the ECMAScript into the editor from an existing file.

  6. To save the ECMAScript press Ctrl+S after the ECMAScript is finished.

For information on how to use the ECMAScript editor, see Section 10.0, Using ECMAScript in Policies.