Select to view content in your preferred language

How to create widget group and drop down in header controller

6050
10
Jump to solution
08-19-2015 10:44 AM
DanNorman
Occasional Contributor

Has anyone figured out how to create widget groups as mentioned here: Controller widget—Web AppBuilder for ArcGIS | ArcGIS

i can not find to option to set a widget to "show in drop-down menu". The help file above makes it sound like a check box in the widget configuration accessible through the web app builder, without having to modify the code.

showindropdown.PNG

Thanks!

Don

0 Kudos
10 Replies
DavidPfeiffer
New Contributor

I had to read through a few posts and esri docs to fully understand this.

Per ESRI:

Header Controller is associated with the Foldable theme while Sidebar Controller is associated with the Tab theme.

my config is located at: ..\configs\HeaderController\config_themes_FoldableTheme_widgets_HeaderController_Widget_1.json in my project.
Here is the json code:

{
"groupSetting": [
{
"label": "GROUP LABEL",
"type": "dropDown"
},
{
"label": "GROUP LABEL",
"type": "dropDown"
}
]
}

If you are unsure of the group label name, it should match the config located at ..\config.json

0 Kudos