Server API reference

Server-side Glide APIs enable you to to create scripts to run on the server. Script includes provide common functionality that you can include in your server-side scripts. This page provides links to reference information for the server-side APIs and script includes.

Table 1. Glide API reference
Class Description
CMDBUtil

For additional information, see the global API CMDBUtil.

Provides utility methods for creating and managing table relationships in the configuration management database (CMDB) and managing CMDB baselines.
ExpenseLine

For additional information, see the global API ExpenseLine.

Provides methods for generating expense line (fm_expense_line) records from your own server-side scripts for Cost Management.
GlideAggregate

For additional information, see the scoped API GlideAggregate.

Extends GlideRecord to allow database aggregation queries, such COUNT, SUM, MIN, MAX, and AVG, for creating customized reports or calculations in calculated fields.
GlideDateTime

For additional information, see the scoped API GlideDateTime.

Performs date-time operations, such as date-time calculations, formatting a date-time, or converting between date-time formats.
GlideElement

For additional information, see the scoped API GlideElement.

Provides methods to operate on the fields of the current GlideRecord.
GlideRecord

For additional information, see the scoped API GlideRecord.

Provides methods for performing database operations. GlideRecord is a special Java class that can be used in JavaScript as if it were a native JavaScript class, instead of writing SQL queries.
GlideRecordSecure

For additional information, see Using GlideRecordSecure.

Provides GlideRecord methods that enforce access control lists (ACLs).
GlideSystem

For additional information, see the scoped API GlideSystem.

Provides methods to obtain information about the system.
GlideTimeline

For additional information, see the global API GlideTimeline.

Provides methods for configuring and displaying a Glide Windowing Toolkit Timeline when customizing timeline schedule pages.
Service Catalog

For additional information, refer to Service Catalog API.

Provides methods for accessing service catalog configuration and actions from within the Service Portal.
Table 2. Script Includes reference
Class Description
Change Collision Provides helper functions useful for scripting Change Collision on the server-side or when using AJAX calls on the client.
Discovery Provides functions to accomplish common Discovery tasks.
JavaScript Tools Provides general JavaScript utility functions that are useful for tasks such as logging, validating scripts, and exception wrapping.
MID Server Provides functions to accomplish common MID Server tasks.
Utility Provides general utility functions that are useful when working with arrays, datetimes, and tables.
Workflow Provides functions that are useful when working with workflows.
Table 3. Notify API reference
Class Description
Notify API Provides functionality for sending SMS messages and setting up conference calls.