GlideScriptedExtensionPoint - Scoped

concept australia Updated Sep 10, 2026 1 min read GlideScriptedExtPtScopedAPI.md
Raw file servicenow.com

The GlideScriptedExtensionPoint API provides a method that returns the extension instances associated with a specified extension point.

From these extension instances, you can extend the functionality of an application without altering the original application code. You can use pre-existing extension points available in selected ServiceNow AI Platform applications, or you can add extension points when you develop custom applications in your own instance.

This API is available in the base ServiceNow instance.

For more information on extension points, see Using extension points to extend application functionality.

Parent Topic:Server API reference

GlideScriptedExtensionPoint - getExtensions(String name)

Returns the extension instances associated with a specified extension point.

These extension instances are persisted in the Extension Instance [sys_extension_instance] table. For more information on extension points, see Using extension points to extend application functionality.

Note: The script include instances returned by the getExtensions() method are uninitialized. If your interface includes an initialize method, call that method before calling other methods on the returned instance. For example:

JavaScript
var eps = new GlideScriptedExtensionPoint().getExtensions("RelatedListItemCandidateFilter"); for (var i = 0; i < eps.length; i++) {       eps[i].initialize(tableName, parentFieldName, parentRecordSysId, referencedFieldName);   eps[i].getFilterQuery(); }

Name

Type

Description

name

String

Name of the extension point for which to return the extension instances.Table: Extension Instance [sys_extension_instance]

|Type|Description| |----|-----------| |Array of Objects|Extension instances associated with the specified endpoint.|

The following code example returns the extension instances for the RelatedListItemCandidateFilter extension point. The "class" listed for each instance represents a script include.

JavaScript
var eps = new GlideScriptedExtensionPoint().getExtensions("RelatedListItemCandidateFilter");

Response:

JavaScript
global.RelatedListItemCandidateFilter RelatedListItemCandidateFilterglobal.RelatedListItemCandidateFilter ProblemRelatedListChangeRequestItemFilterglobal.RelatedListItemCandidateFilter RelatedListConfigItemFilterglobal.RelatedListItemCandidateFilter RelatedListItemCandidateFilterForAgileDevelopmentglobal.RelatedListItemCandidateFilter ProblemRelatedListIncidentItemFilterglobal.RelatedListItemCandidateFilter RelatedListIncidentItemCandidateFilterglobal.RelatedListItemCandidateFilter RelatedListCIItemCandidateFilter
Search documentation
Search document titles and file paths on the australia branch