Widget pool configuration

The following table describes the attributes for widget pool configuration.

AttributeDescription

panel

Object. BaseWidgetPanel is the default. See the panel's config file. All widgets that are not in a group display in this panel.

widgets

An array of widgets.

groups

An array of groups.

Example

"widgetPool": {
    "panel": {
      "uri": "jimu/PanelType1",
      "position": {
        "left": 0,
        "top": 0,
        "right": 0,
        "bottom": 30,
        "width": 100,
        "height": 100
      }
    },

    "groups": [{
      "widgets": [{
        "uri": "widgets/Bookmark/Widget",
        "icon": "",
        "label": "" 
      }],

      "label": "",
      "index": 1,
      "panel": {
        "uri": "jimu/PanelType1",
        "position": {
          "left": 0,
          "top": 0,
          "right": 0,
          "bottom": 30,
          "width": 100,
          "height": 100
        }
      }
    }],

    "widgets": [{
      "index": 2,
      "uri": "widgets/Header/Widget",
      "icon": "",
      "label": ""
    }]
  }
In this topic
  1. Example

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.