Compare versions of a customized widget

task brazil Updated Sep 10, 2026 1 min read compare-widget-versions.md
Raw file servicenow.com

Compare your most recent update of a customized widget against the previous version to check if your recent changes are causing issues on a portal page.

Before you begin

Role required: admin or sp_admin

About this task

The option to compare versions is available only for customized widgets that you modified directly. There's no option to compare versions of a customized widget for which you modified only the widget dependencies, Angular Providers, or ng-templates.

There's no option to compare versions for new, cloned, or base system widgets.

Procedure

  1. Navigate to a portal page.

  2. On the page, open the widget context menu by CTRL+right-clicking any widget.

  3. On the widget context menu, click Show Widget Customizations.

    Customized widgets are outlined in red.

  4. On a customized widget, click the information icon ([Omitted image "info-icon.png"] Alt text: Information icon).

  5. On the window, click Compare with previous version.

    The system displays the widget records of the current and previous widget versions side by side.

    [Omitted image "compare-versions.png"] Alt text: Comparison between current and previous versions of widget

    Although both widget records are labeled Version, the left-side record represents the previous version and the right-side record represents the current version.

  6. For each field in which it appears, click the window icon ([Omitted image "pop-out-icon.png"] Alt text: Window icon) to open the code comparator.

    Your most recent changes to the widget code are highlighted in the code comparator.

    [Omitted image "code-comparator.png"] Alt text: Code comparator

Search documentation
Search document titles and file paths on the brazil branch