Create an app file in ServiceNow Studio

  • Release version: Xanadu
  • Updated September 6, 2024
  • 1 minute to read
  • Create an app file to define an aspect of how an application functions. For example, you could add a security file using ServiceNow Studio to define which users can access the app.

    Before you begin

    Role required: admin or delegated developer

    About this task

    Application files are essentially metadata records for application logic such as business rules, workflows, and script includes. For more information on app files, see Application files and Working with metadata app file categories in the ServiceNow Studio Navigator.

    Delegated developers have access to create app files for apps they have access to. If you need an app created, contact your admin.

    Procedure

    1. Navigate to All > App Engine > ServiceNow Studio.
    2. Select either the Create icon (create icon) next to the Navigator panel or the Create button.
      Figure 1. Select either Create button
      Create an app using either the Navigator icon or the Create button
    3. Select File from the options that appear.
      The create file modal appears, where you can select which kind of app file you would like to create.
    4. Specify which app the file belongs to by entering it in the Application field.
      If you want the app file to be available to all apps, select the Global scope.
    5. Select the card for the type of file you want to create.
      You can find the file type in several ways:
      • Filter the available types by selecting one of the metadata taxonomies in the left of the modal.
      • Enter the type of file you're looking for in the search bar.
      • Choose from the list of Recent file types.
      For a list of all types of metadata that you can use to create app files, see ServiceNow Studio Navigator panel taxonomy. For more information about each file type, see Working with metadata app file categories in the ServiceNow Studio Navigator.
    6. Select Continue.
      The record for the app file appears in a new browser tab in ServiceNow Studio.
    7. Fill in the form with the details for the new app file.
      The form fields vary depending on the type of file you created.
    8. Select Submit.

    What to do next

    After you finish creating the app file, you must select the refresh icon in the Navigator panel for it to appear in the list of app files.

    Figure 2. Refresh the Navigator panel
    Refresh the Navigator panel by selecting the refresh button