How can I get the "Geocoder" widget in the "Tab Theme" ?
Thanks
Tarig
I added it as shown in Bold below. I hope this helps. I agree, I cannot understand why this would not be available in all themes.
{
"widgetOnScreen": {
"panel": {
"uri": "themes/FoldableTheme/panels/TitlePanel/Panel"
},
"widgets": [{
"uri": "themes/FoldableTheme/widgets/HeaderController/Widget",
"positionRelativeTo": "browser",
"position": {
"left": 0,
"top": 0,
"right": 0,
"height": 40
}
}, {
"uri": "widgets/Scalebar/Widget",
"left": 25,
"bottom": 25
} , {
"uri": "widgets/Geocoder/Widget",
"left": 45,
"top": 5
"uri": "widgets/Coordinate/Widget",
"left": 200,
"bottom": 20
Oh .. I think you're working under the "Foldable Theme" right? ...
I need it to show when I select the "Tab Theme"
That didn't work for me . I tried different ways to add it to the .... client\stemapp\themes\TabTheme\layouts\default\config.json
Geocoding is one of the basic and fundamental GIS operations, I think it should be available in all Themes .
I was able to add the "Enhanced Search" widget before, it was easy and forward to add.
Thank you Joseph.
-----------
"uri": "themes/TabTheme/widgets/Header/Widget",
"height": 44
"uri": "themes/TabTheme/widgets/Footer/Widget",
"bottom": 0,
"height": 24
"uri": "themes/TabTheme/widgets/SidebarController/Widget",
"top": 44,
"bottom": 24
"uri": "widgets/HomeButton/Widget",
"left": 7,
"top": 75
"uri": "widgets/BasemapGallery/Widget",
"right": 60,
"top": 45,
"width": 430,
"height": 410
"uri": "widgets/AttributeTable/Widget"
"uri": "widgets/Splash/Widget",
"visible": false,
"positionRelativeTo": "browser"
}]
"widgetPool": {
"uri": "themes/TabTheme/panels/TabPanel/Panel",
"bottom": 22
"uri": "widgets/Legend/Widget"
"uri": "widgets/LayerList/Widget"
"uri": "widgets/Geocoder/Widget"
"map": {
"bottom": 24,
"left": 55
Add the following widget to the config.json file in the "client\stemapp\themes\FoldableTheme\layouts\default" folder
I deduced this solution from clues in the the Help file under Developer Guide -Theme Development - Create A Theme. I inspected the config.json in the corresponding "Foldable Layout" folder and found it had the above code. This only works if you are using the downloaded Web App builder. I don't have a solution if you are using the Web App Builder within ArcGIS Online. I reported this as bug WebApp-001119 a month ago but do not know if any action will be taken on it.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.