How to use VS Code extension in Global scope?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2020 04:16 AM
We do quite a lot of development in global scope (historical reasons).
I have tested the extension on a scoped app but I am not sure how to use it for Global scope.
What is the proper way of using the extension for Global scope edits?
I have tried this:
- Now: Activate Now Extension
- Now: Setup Now Workspace
- Now: Create Now Project
-
- Entered URL, Basic auth, username, password
- Wizard is giving me two choices:
-
- Custom Applications
- Store Application
What should I select at this point? My intention is to edit Notifications [sysevent_email_action] which have "Global" in the column Application.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2020 06:44 AM
Hi ,
Here is a link which will help you.
If it helps,Please mark ✅ Correct and 👍 Helpful.
Warm Regards,
Milind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2021 01:58 PM
This answer is NOT helpful. Why does ServiceNow allow these ridiculous copy paste answers? It's littered all over the forums made by people who, I guess, wants to level up their forum rank and/or land a job at ServiceNow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2020 11:56 PM
Hi Zaphod,
1. Once you have created a Now project, please select Custom Applications or Store Application.
2. After step # 1 you can use the File Search functionality and search for the files in global you would like to edit.
3. Once the files show up they will be downloaded to the project scratch folder.
4. Now you can edit these files and sync them back to the extension.
Thanks,
Shuvjit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2020 06:55 AM
Hi Shuvjit,
I have selected a random Custom Application and some files were downloaded to my VS Code. It is strange that I have to do this that I have to interfere with files which I definitely do not want to touch.
It has also one side effect - when I want to run a background script from VS Code I always have to select that I want to run it in Global scope. I guess this is because the default scope is the Scoped app which I downloaded earlier. Is there any workaround?
Thanks,
Zaphod