How to use VS Code extension in Global scope?

Zaphod
Tera Contributor

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:

  1. Now: Activate Now Extension
  2. Now: Setup Now Workspace
  3. Now: Create Now Project
    1. Entered URL, Basic auth, username, password
    2. Wizard is giving me two choices:
      1. Custom Applications
      2. 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.

 

6 REPLIES 6

Milind Gharte
Kilo Guru

Hi ,
Here is a link which will help you.

https://docs.servicenow.com/bundle/orlando-application-development/page/build/applications/concept/v...

 

If it helps,Please mark Correct and 👍 Helpful.

Warm Regards,

Milind

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?

Shuvjit1
ServiceNow Employee
ServiceNow Employee

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

 

 

 

 

Zaphod
Tera Contributor

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