intelligen
Version:
Generate VS Code intellisense from Service Now Instance data
43 lines (41 loc) • 1.7 kB
Markdown
## In order to be able to export all viable dictionary records there are a few steps
1. [Import update set with ServiceNoW application](#import-application)
2. [Enable emails](
3. [Set key generation settings](#set-key-generation-settings)
4. [Create new Intellisense subscription](#create-new-intellisense-subscription)
5. [Download Files from the email sent](#download-files-from-the-email-sent)
6. [Run](#run)
7. [Additional notes](#additional-intellisense)
***
## Import application
> You should go to **Retrieved Update Sets > Import**
* The file is the Intelligen.xml
## Enable emails
> Go to system properties -> email
* Enable outbound and inbound emails.
***
## Set key generation settings
> Set scope to VC Code Intellisense
* In application search bar > VC Code Intellisense > Key generation
* Deletion -> when decrypting the file locally whether the key should be deleted
***
## Create new Intellisense subscription
> VS Code Intellisense > Subscribe
* If you don't have an extension you're using or don't know which one it is, pick Snippet Extension
* Insert
***
## Download Files from the email sent
> Download from the generated email sent to you - snippetImport/scopedImport.txt and DC_key.txt
### Important - DON'T CHANGE EITHER FILE'S NAME
***
## run
1. Come back to project directory
2. place the downloaded files in the root folder
3.
```
npx intelligen
```
4. You're ready to use the generated intellisense just the same as in ServiceNow.
***
## Additional Intellisense
* Important thing to note, there's added also a ".byLabel" to every GlideRecord and GlideAggregate prototype so that you can search fields by label too!