Create a new widget

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • Create a new widget to build a custom widget from scratch.

    Avant de commencer

    Role required: admin or sp_admin

    Procédure

    1. Navigate to All > Service Portal > Service Portal Configuration.
    2. Select Widget Editor.
    3. Click Create a new widget.
    4. Enter a name for the new widget.
      The widget ID is created automatically based on the widget name. You can then select Create test page to automatically create a page containing the widget.
      Create a new widget
      Remarque :
      After completing development of a widget with a test page, delete the test page. Maintaining test pages can create clutter when managing pages.
    5. Click Submit.

      The widget HTML template, client script, and server script display in the widget editor. Basic script templates are included as a guide.

      Remarque :
      For server-side scripts, you can turn on using the ECMAScript 2021 (ES12) JavaScript mode if your application uses ES5 Standards mode or Compatibility mode. Scripts in applications with the JavaScript mode set to ECMAScript 2021 (ES12) use ECMAScript 2021 (ES12) by default. For more information, see Turn on ECMAScript 2021 (ES12) mode for a script.

      Widget editor IDE