ServiceNow Studio supported file types using code search

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:9分
  • ServiceNow Studio supports the following file types when using code search.

    When using code search in ServiceNow Studio, the application uses the default code search group. The following table outlines the file types that are supported when using the default ServiceNow Studio code search.

    ヒント:
    If your company wants to expand the list of supported file types used in code search, an administrator can create a new code search group that includes additional file types. For more information about expanding code search, see Expand code search tables.
    注:
    To search for a file using code search, the file type must be extended from the sys_metadata table. Other types of files, such as scheduled items (sys_trigger records), are not searchable in ServiceNow Studio.
    表 : 1. Supported file types for code search
    File type Code search table name Description
    Access control sys_security_acl
    Determines whether access is granted for a specified operation to a specific entity, such as:
    • Type of entity being secured
    • Operation being secured
    • Unique identifier describing the object
    Business rules sys_script Customize system behavior.
    • Business Rules run when a database action occurs (query, insert, update, or delete).
    • The script can run:
      • before or after the database action is performed (runs as part of the database operation).
      • asynchronously (at some point after the database operation).
      • on display (when displaying the data in a form).
    Client scripts sys_script_client
    Used for changing the appearance of forms, displaying different fields based on values that are entered or other custom display options.
    • onLoad means that the Client Script runs when the form or page is loaded
    • onChange means that the Client Script runs when something specific gets changed AND also when the form or page loads
    • onSubmit means that the Client Script runs when the form is submitted

    Client Scripts can also be called by other scripts or modules, including UI policies.

    Email templates sysevent_email_template Enable administrators to create reusable content for the subject line and message body of email notifications.
    Inbound email actions sysevent_in_email_action Script how the system responds to inbound emails.
    Map pages cmn_map_page Display ServiceNow data graphically on a Google map page based on location data that you provide.
    Map transforms sys_transform_map
    Used for importing data. Transform maps:
    • Define mapping relationships between tables.
    • Can use business rules, other scripts, or other options to import data.
    Notifications sysevent_email_action Determine how an application communicates with users and alerts them about important application-related events.
    Processors sys_processor Provide customizable URL endpoints that can execute arbitrary server-side JavaScript code and produce output such as TEXT or JSON.
    Relationships sys_relationship Used to extend tables, reference records in another table, create many-to-many relationships, and join tables in a database view.
    Scheduled script executions sysauto_script Define automated, server-side script logic that executes at a specific time or on a recurring basis. Scheduled script executions are also referred to as scheduled jobs.
    Script actions sysevent_script_action
    Contain scripts that run when an event occurs, for example:
    • Approval is canceled
    • Change is approved
    • Problem is assigned
    Script includes sys_script_include Contain scripts that can be functions or classes. These scripts run only when called by other scripts, often business rules.

    Any server script that is complicated or reusable should be a Script Include, especially complicated business rules.

    Schedule items sys_trigger Contain the back-end data for the System scheduler, where scheduled jobs are created, queued up, and executed. Schedule items can execute scheduled jobs, business rules, inactivity monitors, service level agreement (SLA) calculations, metric events, upgrades, and more. You can access schedule item records to troubleshoot scheduling.
    Defining UI actions sys_ui_action Include the buttons, links, and context menu items on forms and lists. Configure UI actions to make the UI more interactive, customized, and specific to user activities.
    UI macros sys_ui_macro Contain discrete scripted components that administrators can add to the user interface. UI macros are typically controls that provide inputs or information that is not provided by existing field types.

    By default, the system provides UI macros for a variety of user interface elements.

    UI pages sys_ui_page Used to create and display forms, dialogs, lists, and other UI components.
    Using UI policies sys_ui_policy Define the behavior and visibility of fields on a form. Fields can be one of the following:
    • Mandatory
    • Visible
    • Read only
    The following apply to usage:
    • UI policies are always attached to one table.
    • UI policies often have a condition that must be true for them to run.
    UI scripts sys_ui_script

    Contains client scripts stored for reuse. Only used when called from other scripts.

    UI style sys_ui_style Enables you to declare individual CSS styles for a field in a list or form.
    Widgets sp_widget Describe objects that contain content and can be added to or embedded in portal pages. You can use the base system widgets provided with the Service Portal, clone and modify widgets, or develop custom widgets to fit your own needs.