How can we add any other widget apart from default widget to the "not-removeable-onscreen-widgets-list"
to the list.
I tried adding the widget to the config.json but was unable to get success, was facing the error "SyntaxError: Unexpected token C in JSON at position 0"
Any help on this is highly appreciated
thanks in advance
Ash
Ash,
Those widget are inPanel equals false widgets and have to be added manually to the main config.json.
Hi Robert,
I tried adding the widget to the config.json in the path "<Drive>:\<AppName>\WebAppBuilderForArcGIS\server\apps\2\config.json" but was unable to get success, was facing the error "SyntaxError: Unexpected token C in JSON at position 0".
Did you mean the config.json in "<Drive>:\<AppName>\confog.json". I tried adding there also, but its not reflection in the panel
Ash
Ash,
What widget are you trying to add?
Robert,
legend
Thanks
Ash,
That is not possible. I guess you have missed he part when I said it is a requirement for the widget to be inPanel false. All of the widget in the upper permanent widget section are widget that do not require panels to be added to the apps UI (i.e. inPanel = false). The Legend widget requires a panel.
Thanks Robert,
Can you please give some example of the inPanel and offPanel widget for some clairty so that I avoid making such mess
Thanks
Ash
Ash,
All the esri out of the box offPanle widgets are already listed there in WAB. There are a couple of custom on out there like the Local Layer widget, Map Progress Indicator Widget Version 2.5 - 08/10/17 , Zoom Previous Next, Anvil Bookmarks, Anvil Maptips