psphanindrakuma
Tera Guru
Tera Guru

 Installation procedure.

1. Install VS code extension – [ sn-scriptsync]. 

find_real_file.png 

 

 

2. Create a new folder with the name “sn-scriptsync" under Documents directory.

     find_real_file.png 

 

 

3. Install “ServiceNow Utils” – browser extension in Chrome or Firefox browser.

find_real_file.png 

 

4. Enable ServiceNow Utils in the browser.

 

 find_real_file.png

 

5. Click on Open ScriptSync Helper Tab. It will create a web socket connection between your instance and the VS code.

     find_real_file.png

 

6. Click on the new button provided by browser extension which opens code in vscode. After saving code in VS code editor, WebSocket connection updates the code in an instance. And it will be captured in the update set.

 

    find_real_file.png

     My Articles:
1. Useful Number methods in JavaScript
2. Service-Now Client Script APIs

 

Comments
yesubabu Jonnal
Tera Contributor

how to install in Google Chrome or Firefox browser

psphanindrakuma
Tera Guru
Tera Guru

Install SN Utils browser extension i the chrome and Firefox browsers 

Kundan Thakur
ServiceNow Employee
ServiceNow Employee

Hi All,

Can you try the official ServiceNow Vs Code Extension.
https://marketplace.visualstudio.com/items?itemName=ServiceNow.now-vscode

MichelSamia
Tera Expert

This video helped me to set up and use that extension: https://www.youtube.com/watch?v=vCQ-PtQYnGU

MichelSamia
Tera Expert

@Kundan Thakur, when trying the official one, I had trouble to set it up. I didn't know where to find the client ID and client secret for our OIDC authentication. This one is pretty simple to use, doesn't require you to set up credentials at all.

raja_4m
Tera Contributor

@Kundan Thakur  You can go with basic auth with user name (email id) and the password for your profile

Version history
Last update:
‎09-23-2023 03:24 AM
Updated by:
Contributors