Modifying the Web AppBuilder Widget config.json File - Integration for Esri - English - Foundation 22.1 - OnBase - external

Integration for Esri

Platform
OnBase
Product
Integration for Esri
Release
Foundation 22.1
License

In order to use the Web AppBuilder widget, the config.json file must be modified. By default, this file is located in the OnBase folder in the Web AppBuilder Developer Edition directory (i.e., ...WebAppBuilderForArcGIS\client\stemapp\widgets\OnBase ).

CAUTION: Be very careful when updating the JSON configuration files. If a copy exists with a similar naming scheme (for example, appsettings.backup.json), and that copy is not deleted, the incorrect JSON configuration file may be used. Configuration files are read in lexicographic order, or the order in which they are loaded. This means that the last file saved is the first file loaded. The order of precedence for the loading of the configuration sources is: 1) appsettings.json file, 2) appsettings.{AltName}.json file, 3) Key-per-file directories, 4) Environment variables, and 5) Command Line arguments. As a result, if a JSON configuration file is configured with an alternate name, and is the most recently saved version of the JSON configuration file, the file with the alternate name will take precedence, which causes major errors during login.

Setting

Description

obServiceUrl

Set this option to the URL used by the GIS Service.

Note:

This setting is case-sensitive when used within a cross-domain environment.

portalWidgetUrl

Set the portalWidgetUrl setting to the URL of your Portal for ArcGIS widget. For example: http://[MachineName/[WidgetDirectoryName]

Note:

This option is not required when using Portal services. It should only be used if the widget is deployed from Portal for ArcGIS.

highlightColor

Set this option to the RGB values used to determine the highlight color used to determine the appearance of the widget.

highlightColorR

Set this option to the R (red) value used to determine the highlight color used to determine the appearance of the widget.

highlightColorG

Set this option to the G (green) value used to determine the highlight color used to determine the appearance of the widget.

highlightColorB

Set this option to the B (blue) value used to determine the highlight color used to determine the appearance of the widget.

fillColor

Set this option to the RGB values used to determine the fill color used to determine the appearance of the widget.

fillColorR

Set this option to the R (red) value used to determine the fill color used to determine the appearance of the widget.

fillColorG

Set this option to the G (green) value used to determine the fill color used to determine the appearance of the widget.

fillColorB

Set this option to the B (blue) value used to determine the fill color used to determine the appearance of the widget.

obJS_API_Path

Set this option to the path to the Web AppBuilder widget. For example: widgets/OnBase

useWABSelectToolAutoUpdate

Set this option to true to automatically update the document search results list when the built-in Web AppBuilder select tool is being used.

When this option is set to false, the user must click the Refresh button to update the document search results list.