Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Configure widget loading order in Service Portal

Configure service portal pages to defer load the widgets on a page. The delay in loading of non-essential widgets helps to improve page loading speed and optimizes the use of resources.

Before you begin

Role required: sp_admin or admin

Procedure

  1. Navigate to All > Service Portal > Service Portal Configuration.

  2. Select Designer.

  3. In Service Portal Designer, select a page.

  4. On the page, hover over the widget that you want to defer load.

  5. Select the Form icon

Image omitted: Form\_icon.png
Form icon to open a new form.
  1. Select the Select the check box to defer load this widget check box.

  2. Complete the fields in the form.

FieldDescription
In which order do you want to load the widget?Select Viewport if you want the widget to load when it appears in the page view. Select Parallel to have the widget load after the page loads.
Device typeSelect the type of device \(desktop, tablet, and mobile\) on which you want to defer load widgets.
Advance placeholder configurationSelect the check box to dynamically define the height and width of the widget.
Placeholder dimensionsSpecify the height and width of the widget in each of the selected device types with the following code:
{
  "mobile": {
  "height": "100%",  
  "width": "100%"
  },
  "desktop": {
  "height": "100px",
  "width": "100%"
  },
  "tablet": {
  "height": "100%",
  "width": "100%"
  }
}
Limit widget size to placeholderSelect the check box to retain the original placeholder dimensions and avoid layout shifts.
Placeholder TemplateDefine the custom skeleton loader. A default code is already available and can be edited for customization.
  1. Select Save.

Result

Deferred loading of the widget is enabled.

  • Deferred loading of AI Search assets in Service Portal
    Deferred loading of AI Search on the Service Portal delays the loading of certain AI Search assets until the main page content is loaded. This delay helps the page to load faster, thus improving user experience in the portal. st.

Parent Topic:Using portal widgets