Back in the glory days of the Flex viewer it was possible to load a URL parameter for separate configs from a URL, eg:
index.html?config=rivers.xml
index.html?config=roads.xml
etc
Is it possible to load separate config.json files through a URL parameter as a similar approach for WAB Developer Edition? Or can this be embedded in the basic index.html as a similar method?
I have about 10 applications where the config is largely the same but some widget configs are not identical. So this approach would allow me to use a simple parameter to link to different configs and ultimately different widget settings.
Thanks a lot,
Brendan
Solved! Go to Solution.
Brendan,
Absolutely you can it is not documented very well but they show this ability in the WAB guide.
Get started—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
http://<server[:port]/webappbuilder/stempapp/?config=sample-configs/config-demo.json
Brendan,
Absolutely you can it is not documented very well but they show this ability in the WAB guide.
Get started—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
http://<server[:port]/webappbuilder/stempapp/?config=sample-configs/config-demo.json
Hi Rob,
Thanks for that - indeed I searched long and hard for this! It surely is buried.
Much appreciated,
Brendan