When creating a new Web AppBuilder application, you need to choose the Web Map which will be used in the application.
Is it possible to change this at run-time, ie while using the application?
Sure there is a widget for that:
Is it possible to do the same thing using custom code if we know webmap id?
Thanks in advance!
I have not tried but I would say yes. Just look at Davids code in the widget.
Retrieving data ...