Configure widget loading order in Service Portal

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:2分
  • 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.

    始める前に

    Role required: sp_admin or admin

    手順

    1. Navigate to All > Service Portal > Service Portal Designer > Widgets.
    2. Hover over the widget that you want to defer load.
    3. Select the Form iconForm icon to open a new form.
    4. Select the Select the check box to defer load this widget check box.
    5. Complete the fields in the form.
      表 : 1. Form fields
      Field Description
      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 just soon after the page loads.
      Device type Select the type of device (desktop, tablet, and mobile) on which you want to defer load widgets.
      Advance dimensions configuration Select the check box to define the height and width of the widget.
      Placeholder dimensions Specify 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 placeholder Select the check box to retain the original placeholder dimensions and avoid layout shifts.
      Placeholder Template Define the custom skeleton loader. A default code is already available and can be edited for customization.
    6. Select Save.

    タスクの結果

    Deferred loading of the widget is enabled.