Manage Custom Widgets From List View

Manage custom widgets from the list view to update widget details; configure connections, variables, and probes; and control widget visibility.

Role Required: SDAdmin

Go to Setup > Developer Space > Custom Widgets to open the list view.

Quick Links


List View Overview      

The Custom Widgets list view displays all uploaded widget packages. Each row represents a widget package and includes the following details:

Column

Description

Widget Name

Name of the widget package

Status

Toggle to enable or disable the entire widget package

Actions

Options to edit, delete, or view widget details


Expand a widget row to view its widget items, display locations, connections, variables, and probe settings.


Enable or Disable a Widget

Use the toggle in the Status column next to a widget package to enable or disable a widget.

Disabling a widget package overrides its widget item and display location settings. Enabling it again restores previous settings.


Edit or Delete a Widget

Click the action icon (⋮) next to a custom widget name to access the following options:
 

Action

Description

Edit

Update the widget name and description or upload an updated widget package.

Delete

Permanently delete the widget package and its associated connections, variables, and custom modules.

 

You cannot delete a custom widget associated with a custom menu or dashboard. Remove these associations before deleting the widget.

View Widget Details (Quick View)  

Click the expand icon (▶) next to a widget or click its name row to view its details and settings.

The quick view displays:


Authorize Connections      

Connections allow custom widgets to access third-party services through OAuth and APIs. After you upload a widget package with connections, authorize them so the widget can use them to make API calls.

Click a connection name in the expanded widget row to open the authorization panel. You can perform the following actions:

The user access property in the widget’s plugin-manifest.json determines whether any user or only the SDAdmin who installed the widget can authorize a connection. To learn more, click Custom Widget Specifications - Connections.

For widget items with the configuration location, you cannot configure connections, probes, or variables from the UI.


Use the following JavaScript APIs to configure connections:


Configure Probe   

A probe is an on-premises agent that connects custom widgets to applications on internal or private networks. You can associate one probe with a custom widget at a time.

The probe selector appears in the list view when probe_config_required is set to true in the widget’s plugin-manifest.json.

Use the following JavaScript APIs to configure probes:

To configure a probe:

Learn more about how to install and configure probes.


Edit Variables      

Variables store values as persistent key-value pairs in the widget. They are defined in plugin-manifest.json, and admins set their values after the widget is installed.

Use the following JavaScript APIs to configure variables:

To edit a variable value:

Variable keys appear only if they are defined in the widget’s plugin-manifest.json. Values for secure variables ("secure": true) are masked in the UI.

Manage Display Locations

After you upload a widget package, expand its row to view the widget items and their available display locations. Use the following options to control where each widget appears and who can view it.

Enable or Disable Display Location      

Use the toggle for a display location to enable or disable the widget item at that location. When you disable a location, the widget item is hidden there, even if the widget package is enabled.

Configure Visibility Conditions

Click Configure for a display location to control widget visibility based on user roles and field values.
 

Role-Based Visibility       

Choose one of the following options under Associated Roles:
 

Option

Behavior

All Roles

Displays the widget to all users regardless of their role.

Selected Roles

Displays the widget only to users with the selected roles.

Show to Requester

Displays the widget to requesters.


Field-Based Criteria      

Choose one of the following options under Criteria:
 

Option

Behavior

Based on Condition

Displays the widget when the configured field conditions match.

No Condition

Displays the widget without field-based criteria.

 

To configure a condition:

Click Remove for a criteria row to delete it.

Use the grab handle to drag a criteria row and change its evaluation order.

Select Template from the Select Column drop-down to filter by request, change, or release template, where supported.

The Criteria field is unavailable for Dashboard and Web Tab display locations.

 

Module-Specific Parameters      

In addition to role and field conditions, certain modules support additional parameters to control where the widget appears.

 

Module

Location

Parameter

Assets

Asset Details — Tab, Asset Details — Right Pane

Product Types

CMDB

CI Details — Tab, CI Details — Right Pane

Configuration Item (CI) Types

Changes

Change Details — Stage Subtab

Stages

Releases

Release Details — Stage Subtab

Stages

 

Select the required values when configuring these display locations.


Display Locations Through Custom Menus  

For widget items with a custom menu location, configure visibility conditions in the associated Custom Menu instead of the list view.

Set the custom widget as the menu action, then use the Criteria field to specify when the menu item appears.


To learn more, click Custom Menus.


Display Locations Through Form Rules      

Widgets in the form's right pane are hidden by default. Use form rules or a JavaScript API call to display them.

In the form rules configuration, use the Show Widget or Hide Widget action to control visibility based on conditions.

If no form rule condition is configured, call SDP.showWidget() from the widget code to display the widget.
 

To learn more, click Form Rules.

Manage Widget Items      

You can enable or disable individual widget items from the list view without disabling the entire package.

Expand the widget row and use the toggle for a widget item to enable or disable it. When you disable an item, it is immediately hidden from all its configured display locations.