How to change the web map at run-time

1081
3
Jump to solution
09-06-2016 11:03 PM
StephenLead
Regular Contributor III

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?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Stephen,

   Sure there is a widget for that:

https://community.esri.com/docs/DOC-7630 

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Stephen,

   Sure there is a widget for that:

https://community.esri.com/docs/DOC-7630 

Vara_PrasadM_S
Occasional Contributor II

Hi Robert,

Is it possible to do the same thing using custom code if we know webmap id?

Thanks in advance!

With Regards,

Vara Prasad.

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Vara,

   I have not tried but I would say yes. Just look at Davids code in the widget.

0 Kudos