How To: Automatically display the in-panel widget window in Web AppBuilder for ArcGIS


In Web AppBuilder for ArcGIS, the in-panel widget can be set to automatically start upon loading the web map. However, by default, even if the in-panel widget is started, it is required to click the widget to display the Legend window. In the Web AppBuilder for ArcGIS widgets configurations, each in-panel widget contains a Boolean property, openAtStart, which is set as false by default. For more information about in-panel and off-panel widgets, refer to the following web help document, Web AppBuilder for ArcGIS (Developer Edition): In-panel and off-panel widgets.

This behavior can be altered by modifying the openAtStart property in the app config.json file.


The instructions provided describe how to change the attribute of the openAtStart property to true to allow the in-panel widgets window to display automatically.

  1. Open the app config.json file in the server\apps\selected app folder using a text editor, (for example, Notepad or Notepad++).
  2. Search for the desired widget in the config.json file to locate a specific code segment.
  3. Modify the "openAtStart" section to 'true'. The final code may vary depending on the versions used:
"widgets:[ ]") "widgets":[ 
"openAtStart": true, 

Related Information