JavaScript APIs
Provide classes and methods that can be used in scripts to define the functionality of the platform
A few Examples
Client-side Classes | Server-side Classes |
---|---|
GlideAjax | GlideAggregate |
GlideForm | GlideDateTime |
GlideList | GlideElement |
GlideRecord | GlideRecord |
GlideUser | GlideSystem |
spModal | JSON |
Classes are grouped by those used for client-side scripts, REST APIs, global server scripts, and scoped server scripts.
More class are available for use in scripts and new ones are constantly being developed. It is important to stay current on what has changed from release to release.
- Visit ServiceNow's official Developer site to see the list of available API classes and methods, definitions on what they do, instructions on how to use them, as well as sample scripts written by ServiceNow developers.
- Visit ServiceNow's official Documentation site to review API release notes.