Move application files linked to source control to any folder of the repository. Allow application developers to store supporting content such as automated tests in the same repository as the applications they support.

Before you begin

Important: You've landed at the legacy version of Studio, which will be supported until the Australia release in Q1 2026. Try building and editing apps in the new version of ServiceNow Studio instead. For more information, see Building applications with ServiceNow Studio.

About this task

Linking an application to source control generates a properties text file called sn_source_control.properties at the root level of the repository. The properties file specifies the folder containing the application files. The integration tracks changes to these application files by generating a checksum.txt file. When the checksum matches, the integration skips the validation and sanitization process. When the checksum does not match, the integration validates and sanitizes the application files as part of the source control operation. The integration ignores all repository content outside the application path.
Note: You can set system properties glide.source_control.checksum_required to enable optional checksum validations and sanitizations and glide.source_control.checksum_quick_install to bypass sanitization steps on checksum matches. See Available system properties for more information.

Procedure

  1. Login to source control repository linked to the application.
  2. Create the destination folder where you will move the application files.
    For example, create the folders src/app.
  3. Move the folder containing your application files to the destination folder.
    For example, move the folder demo_my_app to src/app.
  4. Navigate to the root level of the repository.
  5. Open the sn_source_control.properties text file in a text editor.
  6. For the path= property, enter the folder path where you moved the application files.
    For example, enter path=src/app.
  7. Save the properties file.

What to do next

Login to your instance and perform source control operations from Studio.