Search and download any script files on your instance using the ServiceNow Extensions for VS Code extension.

Before you begin

Role required: none

Procedure

  1. Open a project in VS Code containing your application.
  2. Click the File Search on the status bar on the bottom of the VSCode IDE.
    You can also use a keyboard shortcut, Control+Shift+P in Windows or Command+Shift+P on MacOS, to open the command palette and choose Now: Global Search from the list.
    Figure 1. Global File Search command
    Global Search File command
  3. Select the file group from the Select File Group list in the command palette on the top of the screen.
    Figure 2. Select File Group list
    List of file groups
  4. Select the file type from the Select a File Type list in the command palette on the top of the screen.
    Figure 3. Select a file type list
    Select a file type list
  5. Select files from the Select files to download list.
    Figure 4. Select files to download list
    Select files to download list

    You can select and download multiple files at a time.

    The selected files are downloaded to the scratch folder of your application. You can edit the selected files.
  6. View more than 10,000 results from your search:
    1. Open settings by selecting Control+, in Windows or Command+, on MacOS.
    2. Enter now into the search bar.
    3. Enter the number of records you want to see in the Fetch Records Max Limit settings.
      Figure 5. Fetch Records Max Limit settings
      Fetch Records Max Limit settings