Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Create a new widget

Create a new widget

Widgets are the power behind the portal. Widgets are customizable and can be used to provide an variety of experiences for your users. Anytime you add a widget to a page it becomes an instance of itself, which can be configured specifically for each use. Create a new widget to build a custom widget from scratch.

Before you begin

Role required: admin or sp_admin

About this task

You can add several Icon Link widgets to a page, configure them to link to different areas and with different icons, and none of them will be affected by the others. You can start by cloning an existing widget and making changes to your cloned version. Developers or people with an advanced understanding of AngularJS can create widgets from scratch.

Procedure

  1. Navigate to Service Portal > Service Portal Configuration > Widget Editor.
  2. Click Create a new widget.
  3. Enter a name for the new widget. The widget ID is created automatically based on the widget name. Optionally select Create test page to automatically create a page containing the 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.
  4. Click Submit.

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