Select to view content in your preferred language

openAtStart widget in group doesn't work?

2153
1
Jump to solution
04-22-2016 11:26 AM
LefterisKoumis
Frequent Contributor


I am using the launchpad and in the panel, I have widget groups. In one of the groups, is the LayerList that I wish to open at Startup. I set the openAtStartup to true, but it doesn't work. I can set the group to open at startup, but still it does not work. I am using the LocalLayer widget to set the layers. Suggestions? Thanks.

  "widgetPool": {
    "panel": {
      "uri": "themes/LaunchpadTheme/panels/LaunchpadPanel/Panel",
      "position": {
        "relativeTo": "map"
      }
    },
    "widgets": [
      {
        "name": "BasemapGallery",
        "label": "Basemap Gallery",
        "version": "1.4",
        "uri": "widgets/BasemapGallery/Widget",
        "config": "configs/BasemapGallery/config_Basemap Gallery.json",
        "index": 2,
        "id": "widgets_BasemapGallery_Widget_33"
      }
    ],
    "groups": [
      {
        "label": "Project Info",
        "widgets": [
          {
            "uri": "widgets/LayerList/Widget",
            "version": "1.4",
            "id": "widgets_LayerList_Widget_17",
            "name": "LayerList",
            "label": "Layer List",
            "index": 3,
  "openAtStart": true
          },
------------
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Leferetis,

  Setting a widget to open at start inside a group is not allowed this is why the option is not shown in the WAB UI.

View solution in original post

1 Reply
RobertScheitlin__GISP
MVP Emeritus

Leferetis,

  Setting a widget to open at start inside a group is not allowed this is why the option is not shown in the WAB UI.