Update the ServiceNow SDK version for an application in the ServiceNow IDE
Configure which version of the ServiceNow SDK an application uses from the ServiceNow IDE.
Before you begin
Role required: admin
About this task
From the ServiceNow IDE, you can configure which version of the ServiceNow SDK, including the ServiceNow Fluent APIs, an application uses beginning with ServiceNow SDK version 3.0.
Procedure
Navigate to All > App Development > ServiceNow IDE.
Open a workspace with an application.
From the Activity Bar, select the File Explorer view (
File Explorer\).
Open the
package.jsonfile for the application.In the
devDependenciesfield, update the versions of the@servicenow/sdkand@servicenow/eslint-plugin-sdk-app-pluginpackages to 3.0.0 or later.For example:
"devDependencies": { "@servicenow/sdk": "3.0.0", "@servicenow/glide": "26.0.1", "eslint": "8.50.0", "@servicenow/eslint-plugin-sdk-app-plugin": "3.0.0" }Save your changes.
Use one of the following keyboard shortcuts to open the command palette:
- Windows: Ctrl-Shift-P
- Mac: Cmd-Shift-P
- Enter
Package Manager: Install Dependenciesand press Enter.
The dependencies are updated in the
node_modulesdirectory.
Result
You can use the latest version of the ServiceNow SDK application packaging service and ServiceNow Fluent APIs in your application.
Parent Topic:Configuring the ServiceNow IDE