GlideScriptedExtensionPoint - Scoped
-
- UpdatedJan 30, 2025
- 1 minute read
- Yokohama
- API reference
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.
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.
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. |
Example
The following code example returns the extension instances for the RelatedListItemCandidateFilter extension point. The "class" listed for each instance represents a script include.
Response: