In the prequelto this blog, we looked at the basic construction of URL schemes, important parameters and key/pair values within ArcGIS Web AppBuilder. As a result, we were able to use our existing Web AppBuilder template and swap out the default web map for another web map by utilizing the capabilities that lie within the URL.
This blog introduces additional concepts with regards to these available URL capabilities and explores different parameters surrounding the position, selection and extent of the map when displayed on app launch. As mission control, we are able to modify parameters that allow us to pre-define and articulate the placement of our app before blasting off.
You may have been working with ArcGIS Web AppBuilder for some time now, and mainly see it as your interactive Web AppBuilding friend. But did you know you can easily swap out your web map from the application, by simply modifying the URL?
This could you be useful to you if you were creating a web application template for users and you wanted to quickly see how your application template would look, referencing a variety of maps. Or, if you wanted to promote the use of your web application to your users, in a way that showcases a variety of web maps.
You can do this quickly using a URL scheme. The scheme essentially adds the item ID value of the applicable web map, to your existing web application URL, using a key/value pair. The key is the “webmap” property, whilst the “value” references the web map via its ID.