Web AppBuilder config url parameter

2125
2
Jump to solution
08-12-2016 02:39 AM
FlavieMORAUX1
Occasional Contributor

Hi,

With webapp builder it is possible to transmit json config file name throught URL parameter "config".

.../index.html?config=config_specific.json.

But it is not documented : Use URL parameters—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers

Is it normal? This URL parameter is it doomed to disapear?

Thanks,

Flavie

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Flavie,

  You are correct it is not documented in the URL parameters help page but it is used and in other help docs:

Create a custom in-panel widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developer...

To preview the final result of the custom widget, type http://[your host]/webappviewer/?config=sample-configs/config-demo.json in the browser. When the app starts, click the first icon highlighted in red circle as shown below.

I will tag Jianxia Song on this.

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Flavie,

  You are correct it is not documented in the URL parameters help page but it is used and in other help docs:

Create a custom in-panel widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developer...

To preview the final result of the custom widget, type http://[your host]/webappviewer/?config=sample-configs/config-demo.json in the browser. When the app starts, click the first icon highlighted in red circle as shown below.

I will tag Jianxia Song on this.

View solution in original post

Jianxia
Esri Regular Contributor

We will document it in the coming 2.2 release. Thanks!