WAB Developer 2.5
Dart Theme
Attempting to open two widgets at application open.
-Popup Panel Widget
-Edit Widget
I updated the config.json of each widets openAtStart property but this doesn't work to open both at the same time. Not sure if there's another palce(s) that will need altered.
"widgetPool": {
"panel": {
"uri": "themes/DartTheme/panels/DartPanel/Panel",
"position": {
"relativeTo": "map"
}
},
"widgets": [
{
"uri": "widgets/LayerList/Widget",
"version": "2.5",
"id": "widgets_LayerList_Widget_19",
"name": "LayerList",
"index": 2
},
{
"name": "Edit",
"version": "2.5",
"uri": "widgets/Edit/Widget",
"index": 3,
"id": "widgets_Edit_Widget_54",
"config": "configs/Edit/config_Edit.json",
"openAtStart": true
},
{
"name": "PopupPanel",
"uri": "widgets/PopupPanel/Widget",
"config": "configs/PopupPanel/config_PopupPanel.json",
"index": 4,
"id": "widgets_PopupPanel_Widget_55",
"version": "2.6",
"openAtStart": true
}
],
Solved! Go to Solution.
Oh totally my fault! I was so buried in the JavaScript that I was certain I broke it somehow. I had to remove/re-add the original widget to ultimately see that config!!! LOL.