ServiceNow Integrated Code Helper
Increase your development speed and Reduce Errors! Get out of ServiceNows clunky web editors and edit your scripts using all the power of VSCode!
This extension allows you to sync any application file record from ServiceNow. Including any field from that file! (Not just script fields!)
Fully customize the fields of data being synced for any table!
Release Notes v0.7.0
See the change log for details.
Everything is done through the command pallete (Ctrl+Shift+P, or CMD+Shift+P on macs). Once launching the command pallete type in SNICH to see a list of all the available commands.
First Time Setup
Setup New Instance
- Create / Open a folder in VScode as your workspace folder. This is the folder all of your ServiceNow Instances will be stored in.
- Open the command pallete and use the "SNICH: Setup New Instance" command.
- Proceed through the setup prompts.
- Note: If using a custom url, use the full url when prompted for instance name.
- If setup was successful you will see a Test Connection Successful message. If not, proceed through Setup New Instance again.
- Once successful, you are ready to start using the other commands!
- Such as Sync Record to sync your first record!
Configure Additional Tables for Instance
- Open the command pallet and look for "SNICH: Configure Table (New and Update)
- Follow the prompts to configure a new table to start syncing records.
Will kick off new instance configuration. Asking for the following information.
Note: Multiple Instances supported. Will create a unique instance folder inside your workspace folder.
- Instance name
- Authentication Type
- Basic (Warning: Will store ID and PW unencrypted. Be sure your computer is secure.)
Requires UserName and Password
- oAuth (Stores oAuth info unencrypted, but we DO NOT store your password at all in this scenario.);
- Authentication Information
- Depending on auth type selected, it will ask for the appropriate authentication information.
After setting up an intance. You will want to run this action allows to configure additional tables to sync records from.
When executing this command it will perform the following.
- Ask which instance you want to configure a table for.
- List all tables extended from "Application File (sys_metadata)" found on that instance.
- After selecting a table, it will retrieve all fields for that table and ask you to select which fields you want to sync.
- After selecting the various fields you want to sync, it will ask you to enter a file extension for each field being synced. Take note of the [field_type] to help guide you to which extension to use.
- Once done, you can use "Sync Record" to sync records from this table.
Loading More data ...