There are three main app properties: map, widgetOnScreen, and widgetPool. The following table shows the attributes and descriptions.
Object—Theme has three properties:
String—proxy.jsp, proxy.php, or proxy.asp, depending on the web server. Default is true. httpProxy has the following properties:
String—If the viewer integrates with portal, set the portal URL here.
String—Required for OAuth 2 log in.
String—URL points to the logo file.
String—The title of the app.
String—The subtitle of the app.
Sets links to other resources. Each link has two properties: URL and label.
See the map's configuration.
Object—Can contain some widgets and widget groups. All the widgets and groups in this object load when the app starts. See Widget on screen configuration.
Object—Can contain some widgets and widget groups. All the widget groups in this object will not load by default. These widgets are controlled by controller widgets, which can read this configuration while starting and closing the widgets by sending messages to the app. See Widget pool configuration.
Optional. Boolean—Determines whether web-tier authentication is used for Portal for ArcGIS. Default is false.
String—The URL of the geometry service used by widgets and the web map. If not set, it reads from the portal.
String—The app's configuration version.
Optional. Object—Only valid in Developer Edition. Any property changes on the object do not affect the loading page. The configuration of the loading page is saved in it, and the code of the loading page is generated when the app is saved.
Object—Defines the app layout on a mobile device. Currently the app will switch to mobile mode when the browser's width and height are less than 600 pixels.
The content of the property is the same as the app configuration except that it only contains the position of the on-screen widget and group. To define the position of the widget and group, see the Create the layouts section in Create a theme.
Optional. Object—Only valid for the template and template app. It stores the template configuration and has the same properties as ArcGIS Online templates. See Add configurable parameters to templates.
Boolean—Determines whether the app is created from a template.
Array—Stores portal or server domains that use web-tier authentication.
Array—The array of proxy item for specific URLs. Each proxy item contains the following parameters:
Object—Defines the layout of the on-screen widget and map. If this property does not exist, use jimu.js/layoutManagers/AbsolutePositionManager, which is the layout manager that Web AppBuilder has been using.
It has the following two properties:
Object—Defines the data sources in the app. There are two data sources: widget data source and extra data source.