Create a new widget

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • Create a new widget to build a custom widget from scratch.

    Before you begin

    Role required: admin or sp_admin

    Procedure

    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
      Note:
      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.

      Widget editor IDE