Set the JavaScript mode for an application

  • Release version: Australia
  • Updated March 12, 2026
  • 1 minute to read
  • Configure which ECMAScript features can be used in an application by selecting the JavaScript mode.

    Before you begin

    Role required: delegated developer role granting full access or admin

    About this task

    The JavaScript mode is a design and runtime setting for custom applications and scripts. To support existing server-side scripts and new scripts developed to the ECMAScript 2021 standard, the JavaScript engine has three modes: ECMAScript 2021 (ES12), ES5 Standards, and Compatibility. For more information about each mode, see JavaScript modes.

    For applications that use ES5 Standards or Compatibility mode, you can also turn on ECMAScript 2021 (ES12) for individual scripts in the application. For more information, see Turn on ECMAScript 2021 (ES12) mode for a script.

    Note:
    Switching the JavaScript mode to ECMAScript 2021 (ES12) for an existing application might change the behavior of its scripts. For more information, see Considerations for switching JavaScript modes.

    Procedure

    1. In the application navigator, enter sys_app.list.
    2. Select an application.
    3. In the JavaScript Mode field, select the mode to use.
      • ECMAScript 2021 (ES12): Supports a subset of ECMAScript 2021 (ES12) and ECMAScript 2022 (ES13) syntax and features.
      • ES5 Standards Mode: Supports ECMAScript5 syntax and features.
      • Compatibility Mode: Used for all scripts developed prior to the addition of ES5 Standards mode.
    4. Select Update.