To install the widget, follow these steps:
- Open the [Geocortex Virtual Directory]\Resources\Compiled directory on the server hosting the application.
-
Copy the following JavaScript files and paste them into this directory:
-
OnBaseCompiled.js
-
OB_WebAPI.js
-
OBVersionAgent.js
-
OBWidgetViewModel.js
-
- Open the [Geocortex Virtual Directory]\Resources\Images directory on the server hosting the application.
- Copy the onbase.png file and paste it into this directory.
- Open the configuration file in a text editor such as Notepad. The configuration file is usually named Desktop.json.js.
- Inside the configuration file, locate the libraries array near the top of the file.
-
Insert the following code into the libraries array:
, { "id": " OnBase ", "uri": "Resources/Compiled/OnBaseCompiled.js", "locales": [] }
Note:Do not forget the comma at the beginning. If you insert this code as the final item in the libraries array, you do not need a comma at the end.
- Save and close the configuration file.